# cpp-peglib

A single file C++ header-only PEG \(Parsing Expression Grammars\) library

Canonical page: https://www.reposhelf.co.uk/projects/github/yhirose/cpp-peglib.html

- Project ID: yhirose/cpp-peglib
- Source: GitHub
- Original project: https://github.com/yhirose/cpp-peglib
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-03T03:24:49.028Z
- Demo page loaded: 2026-11-20T18:43:42.532Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> C++17 header-only PEG \(Parsing Expression Grammars\) library. You can start using it right away just by including peglib.h in your project.

> Since this library only supports C++17 compilers, please make sure that the compiler option -std=c++17 is enabled. \(/std:c++17 /Zc:cplusplus for MSVC\)

> You can also try the online version, PEG Playground at

- '...'i \(Case-insensitive literal operator, ASCII letters\)
- \[...\]i \(Case-insensitive character class operator, ASCII letters\)
- \[^...\] \(Negated character class operator\)
- \[^...\]i \(Case-insensitive negated character class operator, ASCII letters\)
- \{2,5\}, \{2,\}, \{,5\}, \{2\} \(Regex-like repetition operator\)

## Author-documented requirements and audience

> C++17 header-only PEG \(Parsing Expression Grammars\) library. You can start using it right away just by including peglib.h in your project.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/yhirose/cpp-peglib/blob/master/README.md

Extraction checked: 2026-11-03T03:24:49.188Z

Last recorded source update: 2026-10-28T16:38:03.000Z

Saved release: v1.20.0 — 2026-10-05T01:03:25.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=yhirose%2Fcpp-peglib). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
