Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 528 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 528 Bytes

jsLox

Javascript implementation of the Lox language (for educational purposes). Lox is a programming language defined in https://craftinginterpreters.com

Usage

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

Tests

Run the tests with:

$: npm run test