nathansobo/treetop
A Ruby-based parsing DSL based on parsing expression grammars. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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: 6760
- days_rel: n/a
- days_push: 3038
- n_releases_24m: 0
Adoption not part of the score
1010 stars · 110 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Treetop is a Ruby DSL for building parsers based on parsing expression grammars (PEGs). This original repository is unmaintained and development has moved to the cjheath/treetop fork.
Use cases
- write a parser for a custom DSL in Ruby
- define grammars using parsing expression grammars
- parse structured text files in Ruby
- build a small programming language interpreter
- generate parsers from grammar definitions
When to choose
- you need a PEG-based parser library in Ruby
- you prefer defining grammars as readable Ruby DSL code
When to avoid
- you want an actively maintained project - use the cjheath/treetop fork instead
- you need parser performance or features beyond what PEGs offer
Facets
library · maturity abandoned
parser programming-language parsers programming-languages developer-tools ruby cross-platform parsing-expression-grammars peg parser-generator ruby-dsl
1 source
- readme: https://github.com/nathansobo/treetop · fetched 2026-08-28 · ffc78a718081
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nathansobo/treetop | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="nathansobo/treetop")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem