4162186a19
This also includes a fix for an issue where the identifiers of variables were pushed onto the stack, which is incorrect. Change-Id: Id89b388268efad295f29978d767aa4b33c4ded14 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2594 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
README.md | ||
rustfmt.toml |
This is an interpreter for the Lox language, based on the book "Crafting Interpreters".
The book's original code uses Java, but I don't want to use Java, so I've decided to take on the extra complexity of porting it to Rust.
Note: This implements the first of two Lox interpreters.