eliben/pycparser
:snake: Complete C99 parser in pure Python observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 42
- Longevity 100
Flags: no_license
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: 134
- age_days: 4833
- days_rel: 224
- days_push: 9
- n_releases_24m: 2
Adoption not part of the score
3563 stars · 646 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pycparser is a complete C99 parser written in pure Python with no external dependencies. It produces an AST that can be used for static analysis, code generation, and building C language tooling.
Use cases
- parse C source code in Python
- build a static code checker for C
- auto-generate FFI bindings from C declarations
- write a front-end for a custom C compiler
- analyze C function and type declarations
- add custom extensions to the C language
When to choose
- you need to parse C99 code from Python
- you want a dependency-free, easy-to-tweak parser
- you're building C tooling like cffi, linters, or obfuscators
When to avoid
- you need full GCC extension support
- you need C11/C2x features beyond the partial support
- you need a full C compiler or preprocessor
Facets
library · maturity stable
parser compiler developer-tools parsers programming-languages developer-tools python cross-platform c99 c-parser pure-python static-analysis ffi ast
2 sources
- readme: https://github.com/eliben/pycparser · fetched 2026-08-28 · 0d6d3d02cf8d
- registry_pypi: https://pypi.org/pypi/pycparser/json · fetched 2026-08-29 · 4b7cb916140e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| eliben/pycparser | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="eliben/pycparser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem