Lox interpreter from "Crafting Interpreters" implemented in Scala 3, C++, and Python.
- There is a nix flake so you can get an environment with the necessary tools
(
nix develop
) to compile, and test both interpreters. - There is a
Justfile
to facilitate compiling and testing. - Testing is done with the testing infrastructure from the original repository (this is why Dart is required).
- There is a branch for every relevant chapter. The
main
branch has the final version of the interpreters, this is, that ofch13
.