ctpg

ctpg

peter-winter

Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.

486 Stars
25 Forks
486 Watchers
C++ Language
mit License
100 SrcLog Score
Cost to Build
$15.3K
Market Value
$40.9K

Growth over time

1 data points  ·  2026-04-11 → 2026-04-11
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about ctpg

Question copied to clipboard

What is the peter-winter/ctpg GitHub project? Description: "Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.". Written in C++. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone ctpg

Clone via HTTPS

git clone https://github.com/peter-winter/ctpg.git

Clone via SSH

[email protected]:peter-winter/ctpg.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the ctpg issue tracker:

Open GitHub Issues