Projects
View on GitHub
Rydgel/monkey-rust
About
An interpreter for the Monkey programming language written in Rust
Languages & RuntimesMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmonkey-rust
An interpreter for the Monkey programming language written in Rust

What’s Monkey?
Monkey has a C-like syntax, supports variable bindings, prefix and infix operators, has first-class and higher-order functions, can handle closures with ease and has integers, booleans, arrays and hashes built-in.
There is a book about learning how to make an interpreter: Writing An Interpreter In Go. This is where the Monkey programming language come from.
Instruction
Build and test
$ cargo build
$ cargo test
Running the REPL
$ cargo run --release --bin monkey_repl
Running the Interpreter
$ cargo run --release --bin monkey_exe -- --src examples/hash.mk
License
Explore related projects
Loading…