mirror of
https://github.com/J3RN/jbi
synced 2026-08-31 19:10:16 +00:00
No description
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
J3RN's Brainf*ck Interpreter (JBI)
++++++++++[>++++++++++>+++++++++++>+++<<<-]>++++.---.>--..+++.>+++.
This is my first ever Rust project, so the code is probably really bad. Don't @ me.
Building
- Clone the repository
- Run
cargo build
Running
You have two options:
cargo runYou will be presented with ajbi>prompt. The state is retained across inputs to the REPL, so try to remember what the state of your array looks like.cargo run <filename>The file specified will be executed by the JBI interpreter.
TODO
- Don't immediately give up if a loop is unclosed in REPL. Give the user the opportunity to close it.
- Tests, probably.
- J3RN's Brainf*ck Compiler (JBC) 😉