nlox
Lox interpreter written in Node JS.
Based on Bob Nystrom's Lox book
- website: Crafting Interpreters
- github: munificent/craftinginterpreters
Setup
- Run
npm installto install all dependencies
Running
File
node index.js <FILE>
REPL
node index.js
Scripts
Following are called via npm run:
testto run all tests and generate coverage reporttest -- -isame astestbut ignores linter warningsdocCloneto clone your documentation repositorydocGenerateto generate documentation locallydocPublishto generate and publish documentation on GitHub Pages