A PEG parser generator written in C++20. This project is a work-in-progress.
First clone the repository:
git clone git@github.com:evansmal/ccombinators.git
You can build the code with the following command:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
cmake --build build -j12
Enable tests by flipping BUILD_TESTING
to ON
. Building tests will automatically fetch Catch2.
Run the tests:
ctest --test-dir build/tests
Clean up the build directory with the following:
cmake --build build --target clean