[!WARN] This project is still under development!
An interpreter for the Monkey programming language, written in Rust.
Based on the book, Writing An Interpreter In Go by Thorsten Ball.
Install using cargo:
cargo install --git https://github.com/nicdgonzalez/monkey.gitThen, execute monkey to start the REPL (Read-Evaluate-Print-Loop):
$ monkey
Welcome to the Monkey programming language! Feel free to type in commands.
>>> let x = 4;
4
>>> let y = x + x;
8
>>> let add = fn(x, y) { return x + y };
function
>>> add(2, 2);
4