benjamin-hodgson/Pidgin
A lightweight and fast parsing library for C#. observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 90
- Release rhythm 30
- Longevity 100
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: 114.0
- age_days: 3437
- days_rel: 306
- days_push: 65
- n_releases_24m: 3
Adoption not part of the score
1100 stars · 74 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Pidgin is a lightweight, fast parser combinator library for C# and .NET. It lets developers declaratively build parsers for text or binary formats within general-purpose code, without external parser generator tools.
Use cases
- parse a custom DSL or configuration language in C#
- build a parser for a programming or query language
- parse structured text where regex is not powerful enough
- parse binary file formats with typed token streams
- write declarative grammar specifications as executable C# code
- replace ANTLR with a simpler in-code parsing solution
When to choose
- you need to parse context-free languages in .NET without external tooling
- you want parsers that read like grammar specifications in C#
- you need better error reporting and composability than regex provides
- you want a lightweight, fast alternative to parser generators like ANTLR
When to avoid
- you only need simple regex-based matching
- you are not working on the .NET platform
- you need maximum parsing performance from a hand-written recursive descent parser
- your grammar is best expressed with a separate grammar file and code generation step
Facets
library · maturity active
parser parsers programming-languages developer-tools dotnet cross-platform parser-combinators csharp text-parsing dsl
3 sources
- readme: https://github.com/benjamin-hodgson/Pidgin · fetched 2026-08-28 · 193812b84460
- homepage: https://www.benjamin.pizza/Pidgin/ · fetched 2026-08-29 · d93e54140baa
- site_page: https://www.benjamin.pizza/Pidgin/v3.5.0 · fetched 2026-08-29 · e565ca44cd94
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| benjamin-hodgson/Pidgin | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="benjamin-hodgson/Pidgin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem