Brainfuck interpreter & compiler written in Rust.
Using cargo:
$ cargo run -- sample.bf
Using the executable:
$ bf sample.bf
You can also add the -c
flag to generate a native binary:
$ bf -c sample.bf
Note: Generating a native binary currently relies on a Rust compiler, namely rustc
, to be in
the system path.
- Better error handling.
Licensed under the MIT License.