Skip to content
/ sclox Public

Lox interpreter from the book "Crafting Interpreters" implemented in Scala 3.

Notifications You must be signed in to change notification settings

fighur/sclox

Repository files navigation

sclox

Lox interpreter from "Crafting Interpreters" implemented in Scala 3, C++ (incomplete), rust (TODO), and maybe also java at some point to experiment with java's pattern matching.

Why? because I find the interpreter of the book to be a very good exercise to experiment with a programming language.

  • I provide a nix flake so you can get an environment with the necessary tools using nix develop.
  • To compile, and test, there is a Justfile to ease things.
  • Testing is done with the testing infrastructure from the original repository (this is why Dart is required).
  • There will be a branch for every relevant chapter.

About

Lox interpreter from the book "Crafting Interpreters" implemented in Scala 3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published