Skip to content

dfamonteiro/plox

Repository files navigation

plox: A Python implementation of the jlox interpreter

Well, the title says it all, really. This is a complete implementation of the tree-walk interpreter found in Section II of Bob Nystrom's Crafting Interpreters book. You can execute lox programs by calling

python plox.py your_file_here.lox

Enjoy!