https://github.com/jomy10/brainfuck-rs
A Brainfuck interpreter written in Rust. Fast and simple.
https://github.com/jomy10/brainfuck-rs
brainfuck brainfuck-interpreter cli interpreter rust rust-lang
Last synced: over 1 year ago
JSON representation
A Brainfuck interpreter written in Rust. Fast and simple.
- Host: GitHub
- URL: https://github.com/jomy10/brainfuck-rs
- Owner: Jomy10
- License: mit
- Created: 2022-02-03T01:24:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T14:00:35.000Z (about 3 years ago)
- Last Synced: 2025-03-17T11:52:01.874Z (over 1 year ago)
- Topics: brainfuck, brainfuck-interpreter, cli, interpreter, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 544 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rust Brainfuck interpreter
A brainfuck interpreter written in Rust. Fast and simple.
## Usage
```bash
bf file.bf
```
## Download
Download the interpreter [here](https://github.com/Jomy10/Brainfuck-rs/releases/tag/v0.1.0), or compile the compiler yourself
for your own system using `cargo build --release`.
Then, either run it using `./bf`, or copy it to `/usr/local/bin` folder (or make a symlink).
Click for full instructions in making a symlink to /usr/local/bin
**Linux & MacOS**
```bash
# Go to /usr/local/bin folder
cd /usr/local/bin
# Make a symlink
ln -s /path/to/bf bf
# Or, alternatively, move the binary to the folder
mv /path/to/bf bf
```
**Windows**
```PowerShell
CD \Windows\System32
mklink bf \path\to\bf
```
*NOTE: I have no experiene with Windows PowerShell, so do correct me if I'm wrong.*
## Contributing
Feel free to open an issue if you have found a bug. Open a pull request if you can fix it as well.
Contributions are very welcome.
Also, if you have any questions, feel free to open an issue.
## License
[MIT license](LICENSE.txt)