orangeduck/mpc
A Parser Combinator library for C observed · 2026-08-28
Health v2 · maintenance only
39/100
- Activity 36
- Release rhythm 8
- 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: n/a
- age_days: 4724
- days_rel: n/a
- days_push: 388
- n_releases_24m: 0
Adoption not part of the score
2851 stars · 304 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mpc is a lightweight parser combinator library for C, shipped as a single ANSI C source file. It supports type-generic parsers, predictive recursive descent parsing, automatic error message generation, and regex/grammar parser generators.
Use cases
- build a new programming language in C
- parse an existing programming language
- define and parse a custom data format
- embed a domain-specific language in a C application
- generate parsers from regular expressions or grammar definitions
When to choose
- you need a small, dependency-free parser library in plain C
- you want quick parser construction with combinators instead of writing a lexer/parser by hand
- you want automatic error message generation for your grammar
When to avoid
- you need high-performance or highly optimized parsing for large inputs
- you prefer parser generator tools like yacc, bison, or ANTLR
- you are working outside C
Facets
library · maturity stable
parser parsers programming-languages developer-tools cross-platform c parser-combinators dsl grammar recursive-descent ansi-c single-file
1 source
- readme: https://github.com/orangeduck/mpc · fetched 2026-08-28 · 3a6ff2df495e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| orangeduck/mpc | main | 39 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem