https://github.com/ripta/bfstk
beefsteak, the brainfuck~ish interpreter
https://github.com/ripta/bfstk
programming-language toy-interpreter toy-language
Last synced: 7 months ago
JSON representation
beefsteak, the brainfuck~ish interpreter
- Host: GitHub
- URL: https://github.com/ripta/bfstk
- Owner: ripta
- License: mit
- Created: 2024-01-20T10:41:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T05:49:51.000Z (about 2 years ago)
- Last Synced: 2025-06-13T08:57:52.115Z (8 months ago)
- Topics: programming-language, toy-interpreter, toy-language
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bfstk, a brainfuck~ish interpreter
Implementation notes:
- the data pointer starts on cell zero; and
- cells extend (virtually) unlimited to both the negative and positive directions.
To run:
```
cargo run -- examples/hello_world.b
```
or compile first, then run:
```
cargo build --release
./target/release/bfstk examples/hello_word.b
```
Run with `-r` to show a summary report of the state after execution.
Run with `-d` to dump the left (negative space) and right (positive space)
memory blocks after execution.