sprache/Sprache
A tiny, friendly, C# parser construction library 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: 5159
- days_rel: n/a
- days_push: 867
- n_releases_24m: 0
Adoption not part of the score
2474 stars · 214 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sprache is a tiny, lightweight C# library for building text parsers directly in code using monadic parser combinators and LINQ query syntax. It requires no build-time code generation and sits between regexes and full parser generators like ANTLR.
Use cases
- parse custom DSLs in C#
- parse configuration or connection strings
- build an expression evaluator
- parse CSV or simple structured text formats
- parse XML-like text into object models
- replace fragile regex parsing with composable parsers
When to choose
- you need a small parser in .NET without code generation steps
- your grammar is simple to moderate complexity
- you want parsers composed and tested directly in C# code
When to avoid
- you need maximum parsing performance for large inputs
- you're building a full programming language with complex grammar tooling
- you're not on a .NET platform
Facets
library · maturity stable
parser parsers developer-tools programming-languages dotnet cross-platform parser-combinators csharp dsl monadic-parsing
1 source
- readme: https://github.com/sprache/Sprache · fetched 2026-08-28 · 4c2fa69137db
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sprache/Sprache | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem