Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 554 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 554 Bytes

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.