A rust version of the Monkey Interpreter from "Writing an Interpreter in Go"
Written without any external libraries, lexers or parsers.
Inspired by this repo.
The REPL is started when running the repo:
cargo run
All tests from "Writing an Interpreter in Go" have been copied.
Rust-Monkey supports:
- Variable bindings,
- Prefix and Infix operators
- First-class and Higher-order Functions
- Closures
- Integers, Booleans, Strings
- Immutable Arrays
- Hashes
- While Loops
- For Loops