This projects lives actually here:
https://git.2li.ch/Nebucatnetzer/crafting-interpreters
However agressive LLM crawlers from Alibaba forced me to make my repos private otherwise they would overwhelme my server.
Since Microsoft did the same thing I let them deal with the crawlers.
https://craftinginterpreters.com/contents.html
Make sure you have Nix and direnv installed.
- Enter directory and run
direnv allow
. - To run the Lox Java REPL simply run:
loxjr
gen-ast
:: Generates theExpr.java
andStmt.java
class files.
nix run .#lox-repl