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

pointlander/peg

Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator. observed · 2026-08-28

github.com/pointlander/peg · Go · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 84
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: n/a
  • age_days: 5974
  • days_rel: n/a
  • days_push: 101
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1116 stars · 123 forks observed · 2026-08-28

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

Peg is a Packrat parser generator for Parsing Expression Grammars (PEG), written in Go. It compiles .peg grammar files into Go source code via go:generate, supporting backtracking and negative look-ahead beyond regular expressions.

Use cases

  • generate a parser from a PEG grammar in Go
  • parse a custom DSL or config file format
  • build a recursive descent parser with backtracking
  • replace regex-based parsing with a real grammar
  • integrate grammar-based parsing into a Go build with go:generate

When to choose

  • you need a parser in Go with backtracking and look-ahead
  • you want grammar definitions compiled to plain Go code
  • you prefer Packrat memoization for deterministic parsing

When to avoid

  • you need LR/LALR-style parsing or ambiguous grammar support
  • you are not working in Go
  • you need runtime-modifiable grammars rather than generated code

Facets

cli-tool · maturity active

parser compiler developer-tools parsers programming-languages developer-tools go cli cross-platform parsing-expression-grammar packrat-parser parser-generator code-generation go-generate

1 source

Member repositories

RepositoryRoleHealth v2
pointlander/pegmain70

For agents

markdown · JSON · MCP: product_card(name="pointlander/peg")

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