# sirthias/parboiled

Elegant parsing in Java and Scala - lightweight, easy-to-use, powerful.

Repository: https://github.com/sirthias/parboiled
Canonical: https://ross.abutalabs.com/products/parboiled
Homepage: http://parboiled.org
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-21T12:11:04+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 6176, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1317, forks 148 (observed 2026-08-28T04:04:21.011671+00:00)

## What it is
parboiled is a mixed Java/Scala library for lightweight, easy-to-use parsing of arbitrary text based on Parsing Expression Grammars (PEGs). It serves as a powerful alternative to regular expressions and traditional CFG-based parser generators.

## Use cases
- parse structured text with a PEG grammar in Java or Scala
- replace complex regular expressions with readable parsers
- build a DSL parser on the JVM
- parse custom file formats or protocols
- construct ASTs from input text with parse trees and value stacks

## When to choose
- you need elegant, lightweight parsing in Java or Scala without external tooling
- regular expressions are too limited for your grammar
- you want parser rules defined directly in code rather than generated from grammar files

## When to avoid
- you need maximum parsing performance for huge inputs
- your project is not on the JVM
- you prefer grammar-file-based parser generators like ANTLR

## Facets
- artifact type: library
- maturity: stable
- function: parser, interpreter
- domain: parsers, programming-languages, developer-tools
- platform: jvm
- tags: parsing-expression-grammars, peg, recursive-descent, text-parsing

## Member repositories
- sirthias/parboiled (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.011671+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:48:14.647489+00:00, confidence not recorded.
  - readme: https://github.com/sirthias/parboiled (fetched 2026-08-28T04:04:21.011671+00:00, sha f6cddb39f91f)
  - homepage: http://parboiled.org (fetched 2026-08-29T12:06:45.416573+00:00, sha c89dd1d94538)
- Data as of 2026-08-30T08:39:29.467469+00:00.
