Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 963 Bytes

File metadata and controls

24 lines (17 loc) · 963 Bytes

rulox

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.

Running the code

cargo run -- loxcode/factorial.lox

Resources