The design and implementation of this compiler will be based on Nora Sandler's book "Writing a C Compiler".
To build this repo from source, you'll need:
- CMake 3.14+
- A C++11 compatible compiler
- Git
To configure CMake, run:
cmake -S . -B build
To build the project after configuration, run:
cmake --build build
To run the current test file (after build):
cd tests
./cynotester
The last working commit has passed tests written by Sandler for Chapter 1's lexing stage, available at this repository.