ft: add readme

This commit is contained in:
2025-04-22 03:39:23 +02:00
committed by GitHub
parent a565b19509
commit 471267f3d1

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# brainfuck-rs
This is a simple [brainfuck](https://en.wikipedia.org/wiki/Brainfuck) implementation is Rust
Why? Because I needed it for a university assignment.
## Usage
Compile using `cargo`, then provide a file with the brainfuck code:
```bash
$ cargo run -- examples/hello_world.bf
Hello World!
```
Also has some debug prints:
```bash
$ RUST_LOG=info cargo run -- examples/hello_world.bf
$ RUST_LOG=debug cargo run -- examples/hello_world.bf
```