com-lihaoyi/fastparse
Writing Fast Parsers Fast in Scala observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 98
- Release rhythm 8
- 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: n/a
- age_days: 4295
- days_rel: n/a
- days_push: 13
- n_releases_24m: 0
Adoption not part of the score
1135 stars · 164 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
FastParse is a Scala parser-combinator library for parsing strings and bytes into structured data, with hand-written-parser-level speed and excellent error reporting. It works on both Scala JVM and Scala.js and includes example parsers for Scala, Python, and CSS.
Use cases
- parse custom text file formats in Scala
- build a parser for a programming language or DSL
- parse JSON-like structured data with good error messages
- write fast parser combinators instead of regex hacks
- parse source code in the browser via Scala.js
- stream-parse large datasets without loading everything into memory
When to choose
- you need a fast, maintainable parser in Scala with great diagnostics
- you want parser combinators far faster than scala-parser-combinators
- you need parsing on both JVM and JavaScript via Scala.js
When to avoid
- you need a parser generator producing standalone grammars like ANTLR
- you are not working in Scala or a JVM/Scala.js ecosystem
- you need extreme-performance binary parsing beyond combinator overhead
Facets
library · maturity stable
parser parsers programming-languages developer-tools jvm browser cross-platform parser-combinators scala-js scala error-reporting text-parsing
2 sources
- readme: https://github.com/com-lihaoyi/fastparse · fetched 2026-08-28 · 6dfdf3a7fcf5
- homepage: https://com-lihaoyi.github.io/fastparse · fetched 2026-08-29 · 71605eb51433
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| com-lihaoyi/fastparse | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="com-lihaoyi/fastparse")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem