Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 869 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 869 Bytes

Dulox

Lox implementation written in Dictu.

Running

To run Dulox you must first have Dictu installed on your system. At the time of writing Dulox uses features within Dictu that have not fully been released, so when building Dictu make sure it's done from the develop branch.

$ git clone -b develop https://github.com/dictu-lang/Dictu.git
$ cd Dictu
$ cmake -DCMAKE_BUILD_TYPE=Release -B ./build 
$ cmake --build ./build

Dulox can either be executed on a file or opened as a REPL

# Open as REPL
dictu lox.du

# Interpet file
dictu lox.du file.lox

Note

Dulox implements the Java section of the craftinginterpreters book and is at section 8.1

License

This project is licensed under the MIT license.