Registry / other / ctpg
library1.3.7vcpkgunverified

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.

vcpkg install ctpg
INSTALL
IMPORT
SIG · CTPG
C
ctpg
othercppv1.3.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ctpg.hpp
#include <ctpg.hpp>

Basic usage of ctpg for compile-time parsing

#include <ctpg.hpp> #include <iostream> int main() { // Example: parsing a simple arithmetic expression auto result = ctpg::parse("1+2"); std::cout << "Parsed successfully" << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.7latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Meta
1
Amazon
1
Resources

No resource links recorded.

ctpg — pip install ctpg · libregistry