Monkey Language Interpreter
A programming language interpreter built from first principles — twice.
A full interpreter for the Monkey language, built from scratch following Thorsten Ball's Writing an Interpreter in Go — then re-implemented in Rust to contrast the two languages' approaches to ownership and pattern matching.
- Hand-written lexer and Pratt parser
- Tree-walking evaluator with closures and higher-order functions
- Interactive REPL
- Implemented in both Go and Rust