lox_one 0.1.0

A tree-walking interpreter for the Lox programming language.


This is simple tree-walking interpreter for the Lox language.

This repo implements the jlox interpreter from the great Crafting Interpreters book by the awesome Bob Nystrom.


  • Scanner
  • Parser
  • Environment
  • Variables
  • Conditionals if/else
  • Loops (for and while loops)
  • Functions (first-class, closures)
  • Resolver
  • Classes
  • Inheritance

Later Ideas

I think if I can get done with the book I will add:

  • Lists
  • Hashmaps
  • Operator Overloading
  • TypeScript style type-checking