An open API service indexing awesome lists of open source software.

https://github.com/timvisee/brainfuck-rs-simple

A simple and compact Brainfuck interpreter in Rust
https://github.com/timvisee/brainfuck-rs-simple

brainfuck brainfuck-interpreter brainfuck-parser rust

Last synced: about 1 year ago
JSON representation

A simple and compact Brainfuck interpreter in Rust

Awesome Lists containing this project

README

          

# Simple brainfuck interpreter in Rust
[→ See quick implementation][quick]

A simple [brainfuck][brainfuck] interpreter implemented in the [Rust][rust] language.

This implementation is focussed on simplicity and compactness,
and isn't meant to be the fastest interpreter out there.

## Usage
For installation, Git and Rust cargo are required.
Install the latest version of Rust with [rustup][rustup].

Create a `program.bf` file, which this application reads the program from.

```bash
# Clone the project
git clone https://github.com/timvisee/brainfuck-rs-simple.git
cd brainfuck-rs-simple

# Run
cargo run --release

# Test
cargo test
```

## License
This project is released under the GNU GPL-3.0 license.
Check out the [LICENSE](LICENSE) file for more information.

[rust]: https://rust-lang.org/
[rustup]: https://rustup.rs/
[brainfuck]: https://en.wikipedia.org/wiki/Brainfuck
[quick]: https://github.com/timvisee/brainfuck-rs-quick