This is a Python interpreter for the lox language. It was created by guidance of the book Crafting Interpreters by Robert Nystrom.
To learn more about the book, check out craftinginterpreters.com
To learn more about the lox language, check out this particular chapter
First clone this repository and cd
into it:
git clone git@github.com:mpvdk/plox.git && cd plox
Then just run the entry point located in the root.
For interactive shell:
./plox
To run a script:
./plox [file]
You can also install plox with pip, which will allow you to run plox
from anywhere:
pip install .