Javascript implementation of the Lox language (for educational purposes). Lox is a programming language defined in https://craftinginterpreters.com
Clone the repository then run the REPL.
$: npm install
$: npm run start
An alternative way is by making jsLox
executable but first make sure to fix the shebang in the file
# current shebang value: #!/usr/local/bin/node
$: chmod a+x ./jsLox
$: ./jsLox
Run the tests with:
$: npm run test