brainfuck interpreter and repl with some optimizations implemented in: for the time being it can detect clear loops, combine repeating operations (-><+) and it can link loops at compile time.
bfc uses the meson build system.
$ meson setup build
$ meson configure --buildtype release build
$ meson compile -C build
$ ./build/brainfuck --help
usage: ./bfc [path] [-d] [-h]
optional arguments:
-d, --debug run the interpreter in debug mode
-h, --help print this text