lox-ts
is an implementation of the Lox programming language from the book Crafting Interpreters, written in Typescript.
The project should run on most versions of node
, but it's tested specifically against the following combination:
node v18.15.0
yarn v1.22.19
To run the interpreter locally:
yarn install
cd packages/lox-interpreter
yarn interpreter path/to/some/file.lox
To run the playground locally:
yarn playground
Once booted up, the playground should be accessible at localhost:5173
.