/interpreter

Primary LanguagePythonMIT LicenseMIT

PLox

Join the chat at https://gitter.im/FOSS-Cell-GECPKD/interpreter

An interpreter for lox programming langauge.

Installation

git clone https://github.com/FOSS-Cell-GECPKD/interpreter
cd interpreter
pip install .

Usage

plox for entering prompt
plox filename for executing a file

Todo

PLox is still in it's beginning stage

  • Lexical Analyser
  • Abstract syntax tree
  • recursive descent parsing
  • lexical scope
  • control flow
  • function with parameters
  • static variable resolution
  • error detection
  • classes

Credits

This project follows crafting interpreters by Robert Nystrom.

This project was a part of FOSS OpenHack '20: https://openhack.gitbook.io/openhack-20/.