This is a python implemetation of a experimental programming language Lox. Lox is a programming designed by Nystrom Bob, Thanks for his project Crafting Interpreters.
For some reason, the project is not full implemetation of lox features.
The interpreter support:
- atoms
- str
- bool
- number
- null
- expression
- variable and assign
- arithmetic and logical
- statement
- if
- for and while loop
- lexical scopes
- function
- class
- clourse
- Use
pip install loxpy
to install. - Use
loxpy
in termianl to run.
Visit Lox grammar for more infomation.