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
- Host: GitHub
- URL: https://github.com/timvisee/brainfuck-rs-simple
- Owner: timvisee
- License: gpl-3.0
- Created: 2018-01-03T20:04:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-12T12:58:59.000Z (almost 7 years ago)
- Last Synced: 2025-03-12T00:34:44.019Z (over 1 year ago)
- Topics: brainfuck, brainfuck-interpreter, brainfuck-parser, rust
- Language: Rust
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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