pointfreeco/swift-parsing
A library for turning nebulous data into well-structured data, with a focus on composition, performance, generality, and ergonomics. observed · 2026-10-22
Health v2 · maintenance only
90/100
- Activity 92
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 38.0
- age_days: 2130
- days_rel: 49
- days_push: 49
- n_releases_24m: 5
Adoption not part of the score
1000 stars · 86 forks observed · 2026-10-22
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-07, confidence 0.97
A Swift library for turning nebulous, unstructured data into well-structured data using composable parser combinators. It emphasizes composition, performance, generality, and invertibility, so parsers can also act as printers for serialization.
Use cases
- parse unstructured text or binary data into structured Swift types
- build composable parsers from small reusable pieces
- invert parsers into printers for serializing data back to strings
- implement URL routing by parsing request paths
- parse custom DSLs or configuration formats in Swift apps
- write high-performance UTF-8 level parsers that compose with string parsers
When to choose
- you are building in Swift and need flexible, composable parsing beyond regex
- you want a single library that both parses and prints (round-trip serialization)
- you need parsers that work across multiple input types (strings, UTF-8, arrays)
- you value ergonomics and type-safe parsing over hand-written scanners
When to avoid
- you need parsing in a non-Swift language
- you only need simple regex matching and a parser combinator library is overkill
- you need a full grammar compiler or parser generator with grammar files
- you need maximum raw performance from a hand-optimized, purpose-specific parser
Facets
library · maturity active
parser serialization parsers developer-tools cross-platform combinator-parsing parser-printer invertible-parsers swift-package functional-programming algorithms swift
1 source
- readme: https://github.com/pointfreeco/swift-parsing · fetched 2026-10-22 · db62285d74af
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pointfreeco/swift-parsing | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="pointfreeco/swift-parsing")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem