An interpreter for Lox language, from Crafting Interpreters written in Rust. The interpreter covers till Chapter 10 (Functions) and cuts some corners such as we only accept two terms in an expression and only implemented while-loops.
This code was written when attending David Beazley's Crusty Interpreter immersion course.
cargo run -- loxcode/factorial.lox
- Warmup exercise:
- Crafting Interpreters
- Rust Programming Language
- How to Write a Lisp Interpreter. An overview of how to write a small Lisp interpreter (Peter Norvig).