Skip to content

Ranko95/lox-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lox tree-walk Interpreter

Following the Robert Nystrom book Crafting Interpreters, in Rust.

An overview of the lox language can be found here.

Roadmap

  • Tokens and lexing
  • Abstract syntax trees
  • Recursive descent parsing
  • Prefix and infix expressions
  • Runtime representation of objects
  • Interpreting code using the Visitor pattern
  • Lexical scope
  • Environment chains for storing variables
  • Control flow
  • Functions with parameters
  • Closures
  • Static variable resolution and error detection
  • Classes
  • Constructors
  • Fields
  • Methods, and finally
  • Inheritance

About

Tree-walk interpreter for Lox language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages