$ make
- RLE optimizations for
+-
&><
- Various common loop structure optimizations ("set to zero", "multiply with offset", and "find zero")
- Can convert brainfuck to C code for compilation
- Is faster than older C version
bf: interpretes Brainfuck program
bfc: converts Brainfuck program to C
bit: prints out bitcode
# Run Brainfuck program:
$ ./brainfunk -f <source file>
# Translate Brainfuck program to optimized C source:
$ ./brainfuck -m bfc -f <source file> [-o <output file>]
- brainfuck optimization strategies by Mats Linander
- compile-time-regular-expressions library by Hana Dusíková