Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 421 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 421 Bytes

This is an implementation of the lox language built in the brilliant book "Crafting Interpreters" by Bob Nystrom. Used modern c++ & functional data structures.

The build outputs two binaries.

  • ilox: The interpreted lox language implementation.
  • vlox: The VM based lox language implementation.

To build

mkdir build && cd build
cmake ..
make

To run

./ilox <script>.lox

Or

./vlox <script>.lox