Brainfuck-rust is a Brainf*ck interpreter I wrote to learn Rust. For more samples, see brain-lang's examples. They have some pretty cool programs on there!
- Follow the build steps.
- Run the executable through the command line using one of the following commands ():
- On Linux/macOS:
./target/release/bf run ./examples/mandelbrot.bf
./target/release/bf build -o ./mandelbrot ./examples/mandelbrot.bf
./target/release/bf help
- On Windows:
.\target\release\bf.exe run .\examples\mandelbrot.bf
.\target\release\bf.exe build -o .\mandelbrot.exe .\examples\mandelbrot.bf
.\target\release\bf.exe help
- On Linux/macOS:
- Install rust.
- Clone this repository.
- If you have Git installed, run
git clone https://github.com/megabyte6/brainfuck-rust.git
- Otherwise:
- Click on the "Code" button near the top of the page.
- Click on "Download ZIP".
- Extract zip folder.
- If you have Git installed, run
- Navigate to the downloaded directory
- Run
cargo build --release
- The compiled binary will be in
./target/release/
. It will be namedbf
orbf.exe
depending on your operating system.
The GNU General Public License version 3
- Alexander Overvoorde as bf was my inspiration for this project.