Skip to content

OverlineJunior/rlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

156 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rlox is an almost one-to-one copy of the Jlox interpreter from Crafting Interpreters, but written in Rust.

How it works

Because Rlox is a tree-walking interpreter, it takes a shortcut, following the path of scanning -> parsing -> interpreting, skipping over analysis and code generation.

Map

Process Input Output
Scanning Source code Tokens
Parsing Tokens Syntax Tree
Interpreting Syntax Tree State & Effects

Scanner

Parser

Interpreter

Progress

  • Scanning
  • Representing Code
  • Parsing
  • Evaluating Expressions
  • Statements and State
  • Control Flow
  • Functions
  • Resolving and Binding
  • Classes
  • Inheritance

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages