Skip to content

πŸ’ Implementing an interpreter for the Monkey programming language in Rust, with guidance from the book "Writing An Interpreter In Go" by Thorsten Ball.

Notifications You must be signed in to change notification settings

nicdgonzalez/monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MonkeyLang

[!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.

πŸ“¦ Installation

Install using cargo:

cargo install --git https://github.com/nicdgonzalez/monkey.git

Then, 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

About

πŸ’ Implementing an interpreter for the Monkey programming language in Rust, with guidance from the book "Writing An Interpreter In Go" by Thorsten Ball.

Resources

Stars

Watchers

Forks

Languages