Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belimfaux/bf_interpreter
simple Brainfuck interpreter written in Rust, to learn more about Rust, and building CLI-Applications
https://github.com/belimfaux/bf_interpreter
brainfuck brainfuck-interpreter cli rust
Last synced: about 2 months ago
JSON representation
simple Brainfuck interpreter written in Rust, to learn more about Rust, and building CLI-Applications
- Host: GitHub
- URL: https://github.com/belimfaux/bf_interpreter
- Owner: BelimFaux
- Created: 2024-08-06T15:07:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T18:30:01.000Z (2 months ago)
- Last Synced: 2024-11-07T19:34:10.157Z (2 months ago)
- Topics: brainfuck, brainfuck-interpreter, cli, rust
- Language: Rust
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Brainfuck Interpreter
simple Brainfuck interpreter written in Rust, to learn more about the language, and building CLI-Applications## Brainfuck
Brainfuck is an esoteric programming language created in 1993 [...]. Designed to be extremely minimalistic, the language consists of only eight simple commands [...].
[see Wikipedia](https://en.wikipedia.org/wiki/Brainfuck)## Usage
The Program can be compiled with cargo:
```bash
git clone https://github.com/BelimFaux/bf_interpreter.git
cd bf_interpreter
cargo run --release -- examples/hello_world.bf
```
It takes atleast one parameter for the Input-file or optionally the bf-code.
It's also possible to set the size of the cell band, which is by default set to 30000.For all options run `./target/release/bf-interpreter -h`.
Examples are taken from the Wikipedia page of Brainfuck (see link above)