Skip to content

evansmal/pegpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pegpp

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

Getting started

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

References