talira

Compare

pest (Rust)nompeg
What it isThe elegant PEG parser generator for RustA Rust parser combinator library for fast, safe binary and text parsersPackrat parser generator for Go from Parsing Expression Grammars
KindOpen sourceOpen sourceOpen source
Trust0.590.410.45
Stars5425104891120
Last commit2026-11-242025-08-262026-10-12
LicenceMIT OR Apache-2.0MITBSD-3-Clause
PricingFree and open sourceFree and open sourceFree
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
Companypestrust-bakeryAndrew Snodgrass
Features
  • PEG grammars
  • parser generated by pest_derive
  • online grammar fiddle
  • guidance for parsing untrusted input
  • Parser combinators as functions, macros and traits
  • Binary and text format parsing
  • Streaming parsers for network formats and huge files
  • Programming language parsers
  • Zero-copy: returns slices of the input
  • no_std builds, with or without an allocator
  • Generates Go parsers from .peg grammar files
  • Packrat parsing with backtracking and negative look-ahead
  • Go code actions inside the grammar
  • Runs as a go tool from go generate
  • Inline and switch code generation options