An open API service indexing awesome lists of open source software.

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

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.