Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/novara754/bf-rs
Brainfuck interpreter & compiler in Rust.
https://github.com/novara754/bf-rs
Last synced: 30 days ago
JSON representation
Brainfuck interpreter & compiler in Rust.
- Host: GitHub
- URL: https://github.com/novara754/bf-rs
- Owner: novara754
- License: mit
- Created: 2019-06-29T22:12:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-02T19:48:24.000Z (over 5 years ago)
- Last Synced: 2024-10-14T22:14:28.331Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 98.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# bf
Brainfuck interpreter & compiler written in Rust.
## Usage
Using cargo:
```
$ cargo run -- sample.bf
```Using the executable:
```
$ bf sample.bf
```You can also add the `-c` flag to generate a native binary:
```
$ bf -c sample.bf
```**Note:** Generating a native binary currently relies on a Rust compiler, namely `rustc`, to be in
the system path.## Todo
* Better error handling.
## License
Licensed under the [MIT License](LICENSE.md).