13 lines
732 B
Markdown
13 lines
732 B
Markdown
# monkey-rs
|
|
|
|
Another interpreter for the [monkey](https://interpreterbook.com/) programming language in Rust. **Writing An Interpreter In Go** is a phenomenal book to learn on how to write an interpreter for a programming language in **Go**. However instead of using Go I decided to implement the interpreter in Rust. One big advantage of using Rust versus using other garbage collected languages such as Go, Python, Java etc is that the garbage collection of the monkey objects is completely handled by the Rust runtime hence theortically the performance of the Monkey programs is expected to be much better on Rust.
|
|
|
|
|
|
# Demo
|
|
```
|
|
cargo build
|
|
```
|
|
|
|
|
|
[](https://asciinema.org/a/403574)
|