Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 690 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 690 Bytes

Writing A Simple Lox Interpreter In C++

Just learning about programming language theory and implementation by following the steps of the "Crafting Interpreters" book.

Tests

In order to make this easier I just following a test driven approach here.

To build the project and run the test first get cmake using:

 brew install cmake

And then run cmake and make:

cmake . # On the root folder.
make 

I'm using the catch2 test framwork to generate a test binary that you can run using:

./lox_test