Ross ROSS = Recommend OSS · open-source software intelligence for agents

taocpp/PEGTL

Parsing Expression Grammar Template Library observed · 2026-08-28

github.com/taocpp/PEGTL · C++ · BSL-1.0 (other) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 98
  • Release rhythm 64
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 343.5
  • age_days: 4271
  • days_rel: 31
  • days_push: 16
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

2153 stars · 247 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

PEGTL is a zero-dependency, header-only C++ library for building parsers with Parsing Expression Grammars using parser combinators expressed as nested template instantiations. Grammars are written as ordinary C++ code with a comprehensive, extensible set of parser rules.

Use cases

  • parse a custom DSL in C++
  • write a parser for a config file format
  • build a lexer and parser without external dependencies
  • define a grammar as C++ template code
  • parse structured text like JSON or INI in C++
  • create a compiler frontend parser

When to choose

  • you need a header-only, zero-dependency C++ parsing library
  • you want grammars expressed directly as C++ code
  • your language fits a PEG (no ambiguous grammars needed)
  • you need fine-grained control over parsing actions and error reporting

When to avoid

  • you need ambiguous or context-sensitive parsing beyond PEG capabilities
  • you want parser generators that emit standalone code (e.g. yacc/ANTLR style)
  • you are not working in C++11 or newer

Facets

library · maturity stable

parser developer-tools parsers programming-languages developer-tools cpp cross-platform windows header-only parser-combinators parsing-expression-grammar peg zero-dependency template-library linux macos android

1 source

Member repositories

RepositoryRoleHealth v2
taocpp/PEGTLmain86

For agents

markdown · JSON · MCP: product_card(name="taocpp/PEGTL")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem