Skip to content

froth/rust-lox

Repository files navigation

Rust implementation of a tree-walk interpreter for Lox.

Feature complete reimplementation of jlox in Rust with some minor changes and additions. This also means that the design is not perfectly suited to be implemented in Rust. There is i.e. some amount of Rc<RecCell> in here because the original was written in a garbage collected language. I will be doing a Rust reimplementation of clox in the future which should(hopefully) be closer to canonical rust.

Basically me rusting through Part II of http://craftinginterpreters.com/