Skip to content

Latest commit

 

History

102 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lox interpreters in Standard ML

There are two Lox interpreters based on the ones in the book Crafting Interpreters.

  • treelox is a tree-walk interpreter based on jlox.
  • bclox is a bytecode virtual machine based on clox.

Run make to build the interpreters with MLton or use sml -m src/<interpreter>/sources.cm to load an interpreter into the SML/NJ REPL.

Status

treelox passes the jlox test suite. bclox passes the clox test suite for chapter 18.

About

Lox interpreter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages