This project is based on the book Crafting Interpreters by Robert Nystrom and it provides a Python implementation of the jlox tree-walk interpreter for the Lox programming language.
- Clone the repository:
git clone https://github.com/your-username/pylox.git
- Run the interpreter:
python3 lox.py <filename>.lox
- Run the interactive repl:
python3 lox.py
This project is licenced under the MIT License. Please see the LICENSE file for more details
For additional resources and documentation, please refer to the following:
Explore the following links for more in-depth information on the concepts utilized in constructing an interpreter.
- How compilers should communicate errors
- Robert Floyd's paper on expression evaluation
- Peter Landin's paper on expression evaluation