Fully functional BF and BF-equivalent interpreter
Run make
in the top-level directory.
bf [-help] [options] file
Options | |
---|---|
-d |
Enable debugging and diagnostics |
-h |
Print help text |
-L <language> |
Sets the language to interpret (BF is default) |
-P <print mode> |
Sets the print mode for output of the language (char is default) |
-T <lang1> <lang2> |
Translates the file given from <lang1> to <lang2> |
Languages | |
---|---|
BF |
Brainf**k (default) |
??? |
??? |
TinyBF |
TinyBF |
Print Modes | |
---|---|
char |
Print each output byte as a character (default) |
num |
Print each output byte as space-separated numerical values |
hex |
Print each output byte as space-separated hexadecimal values |
smart |
If the byte is printable ASCII, print as a character. Otherwise, as hexadecimal. |