Registry / utility / pegtl
library3.2.8vcpkgunverified

The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency C++ header-only parser combinator library for creating parsers according to a Parsing Expression Grammar (PEG)

vcpkg install pegtl
INSTALL
IMPORT
SIG · PEGTL
P
pegtl
utilitycppv3.2.8
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.

pegtl/pegtl.hh
✓ #include <pegtl/pegtl.hh>

Parses the string 'hello' using a simple PEGTL grammar

#include <pegtl/pegtl.hh> #include <iostream> struct grammar : pegtl::string<'h','e','l','l','o'> {}; int main() { pegtl::string_input in("hello", "test"); if (pegtl::parse<grammar>(in)) { std::cout << "Parsed 'hello'" << std::endl; } return 0; }
Debug
Known issues
gotchaHeader-only library; no linking required but may increase compile times
fix
Include the header directly; ensure C++17 or later for best performance
affects: all
Upgrade
Version history
3.2.8latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

pegtl — pip install pegtl · libregistry