dabeaz/ply
Python Lex-Yacc observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 58
- Release rhythm 35
- Longevity 100
Flags: no_releases archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5722
- days_rel: n/a
- days_push: 255
- n_releases_24m: 0
Adoption not part of the score
2909 stars · 477 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PLY is a pure-Python, zero-dependency implementation of the classic lex and yacc parsing tools, providing lexing and LALR(1) parsing. It is used to build parsers for programming languages, ASTs, one-pass compilers, and protocol decoders.
Use cases
- write a parser for a programming language in python
- build an abstract syntax tree from a grammar
- implement a lexer and LALR(1) parser without dependencies
- decode a custom protocol or DSL
- learn how lex and yacc style parsing works
- build a simple one-pass compiler in python
When to choose
- you want a faithful, minimal lex/yacc experience in pure Python with no dependencies
- you're teaching or learning compiler construction
- you need a small parser you can vendor directly into your project
When to avoid
- you need a maintained library - the author officially abandoned the project in December 2025
- you want modern parser-combinator or PEG ergonomics
- you need package-manager installation or long-term support guarantees
Facets
library · maturity abandoned
parser compiler developer-tools parsers programming-languages compilers developer-tools python cross-platform lex yacc lalr lexer parser-generator zero-dependency compiler-construction
3 sources
- readme: https://github.com/dabeaz/ply · fetched 2026-08-28 · 38570b8eccf6
- homepage: http://www.dabeaz.com/ply/index.html · fetched 2026-08-29 · a36da5a09a02
- site_page: http://www.dabeaz.com/ply/ply.html · fetched 2026-08-29 · cba2fd4f5e47
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dabeaz/ply | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem