Skip to content

Odin implementation of a Lox virtual machine and compiler based on Robert Nystrom's Crafting Interpreters

Notifications You must be signed in to change notification settings

OrigamiDev-Pete/odinLox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odinLox

An implementation of a Lox bytecode virtual machine and compiler based on Robert Nystrom's Crafting Interpreters written in the Odin Programming Language.

The language is complete, including modulo and NaN Boxing optimizations.

Usage - Windows

To build and run the VM, simply run:

.\run

Usage - Other

I've not included build scripts for other platforms but provided you have an Odin compiler you can run:

odin build src -out:lox.exe -o:speed

This will produce an executable for your platform.

About

Odin implementation of a Lox virtual machine and compiler based on Robert Nystrom's Crafting Interpreters

Topics

Resources

Stars

Watchers

Forks