Skip to content

evomassiny/rlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains a WIP implementation of the lox programing language, it is inspired by the clox implentation of the Crafting interpreters book.

So far, it differs from the original implementation on the following points:

  • it uses a compacting garbage collector based on the "immix" implementation, (related doc).
  • it is not a simple pass compiler, here are the main compiler passes:
    • tokenize the input source (streamed)
    • parse the tokens into a basic Abstract Syntax Tree (stream)
    • resolve names on the AST
    • High Level Intermediate Representation
    • Typed High Level Intermediate Representation ...
    • profit

About

yet another lox runtime implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages