Simple Brainfuck interpreter.
$ make install
USAGE:
rs-bff [OPTIONS] <FILE>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-n, --num-cells <N> Number of cells (default: 30,000)
$ rs-bff hello.bf
Hello, world!
$ make test
cargo run tests/hello2.bf
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/rs-bff tests/hello2.bf`
Hello, world!
cargo run tests/hello.bf
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/rs-bff tests/hello.bf`
Hello, world!
[test] finished!
It only works with 8-bit cells and only supports ASCII.
Please report any issues that you find. Or feel free to open a PR, it will be very welcome!
See LICENSE.