Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 769 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 769 Bytes

pegpp

A PEG parser generator written in C++20. This project is a work-in-progress.

Getting started

First clone the repository:

git clone [email protected]: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

References