pest-parser/pest
The Elegant Parser observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 85
- 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: 45.5
- age_days: 3783
- days_rel: 20
- days_push: 14
- n_releases_24m: 15
Adoption not part of the score
5384 stars · 304 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pest is a general-purpose parser library for Rust based on parsing expression grammars (PEG). Grammars are defined in separate .pest files, and the library generates parsers with automatic, meaningful error reporting.
Use cases
- parse a custom DSL in Rust
- write a PEG grammar for a config file format
- build a parser for a programming or markup language
- replace hand-written parsers with grammar-based ones
- get meaningful error messages when parsing fails
- parse structured text like identifiers, expressions, or logs
When to choose
- you are writing Rust and need a parser for a text format or language
- you want grammars kept separate from procedural code
- you need good error reporting out of the box
- you want correctness guarantees from a declarative grammar
When to avoid
- you need a hand-tuned parser faster than nom or serde-level performance
- you need context-sensitive parsing beyond PEG expressivity
- you are not working in Rust
Facets
library · maturity stable
parser parsers programming-languages developer-tools rust peg grammar parser-generator parser-combinators error-reporting
3 sources
- readme: https://github.com/pest-parser/pest · fetched 2026-08-28 · a9ed0d1aedd0
- homepage: https://pest.rs · fetched 2026-08-29 · c5a091efe0ac
- registry_crates: https://crates.io/api/v1/crates/pest · fetched 2026-08-29 · d4885a711b73
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pest-parser/pest | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="pest-parser/pest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem