Skip to content

p-ouellette/sml-lox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

102 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors