pest-parser/pest
Some data may be outdated — see provenance labels.
The Elegant Parser observed · 2026-09-25
Health v2 · maintenance only
93/100
- Activity 96
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 42
- age_days: 3831
- days_rel: 29
- days_push: 26
- n_releases_24m: 14
Adoption not part of the score
5400 stars · 307 forks observed · 2026-09-25
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-09-25 · 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 | 93 |
For agents
markdown · JSON · MCP: product_card(name="pest-parser/pest")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem