# Marwes/combine

A parser combinator library for Rust

Repository: https://github.com/Marwes/combine
Canonical: https://ross.abutalabs.com/products/combine
Homepage: https://docs.rs/combine/*/combine/
Language: Rust
License: MIT
License Family: permissive
Topics: rust, parser-combinators, parser, zero-copy
Last push: 2026-08-25T15:35:40+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 67, longevity 100
- inputs: {"age_days": 4251, "days_push": 8, "days_rel": 8, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1369, forks 100 (observed 2026-08-28T04:04:31.818989+00:00)

## What it is
A parser combinator library for Rust, inspired by Haskell's Parsec and attoparsec. It builds LL(1) parsers (with opt-in lookahead via attempt) that work on arbitrary streams with zero-copy and partial/resumable parsing support.

## Use cases
- parse custom text formats in Rust
- build a DSL parser with combinators
- parse binary data from byte slices without copying
- incrementally parse data from a socket or stream
- write a tokenizer or config file parser
- parse protocols over async IO with tokio

## When to choose
- you want composable, declarative parsers in Rust
- you need zero-copy or partial/streaming parsing
- your grammar is mostly LL(1) with limited lookahead needs

## When to avoid
- you need a full LR/GLR parser generator for ambiguous grammars
- you prefer a grammar-file based tool like nom alternatives or lalrpop
- you need maximum ecosystem momentum around newer parser crates

## Facets
- artifact type: library
- maturity: maintenance
- function: parser
- domain: parsers, programming-languages, developer-tools
- platform: rust
- tags: parser-combinators, zero-copy, ll-parsing, parsec-inspired, streaming-parsing

## Member repositories
- Marwes/combine (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.818989+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:40:57.317090+00:00, confidence not recorded.
  - readme: https://github.com/Marwes/combine (fetched 2026-08-28T04:04:31.818989+00:00, sha 7adc0aafb255)
  - homepage: https://docs.rs/combine/*/combine/ (fetched 2026-08-29T11:57:51.342585+00:00, sha 2a55b75f6c3b)
  - site_page: https://docs.rs/ (fetched 2026-08-29T11:57:51.345635+00:00, sha 81ea1f7a2485)
  - site_page: https://docs.rs/crate/combine/latest (fetched 2026-08-29T11:57:51.347281+00:00, sha 99a944fa3f7a)
  - site_page: https://docs.rs/crate/combine/latest/features (fetched 2026-08-29T11:57:51.348990+00:00, sha 7ba633c35573)
  - site_page: https://docs.rs/about (fetched 2026-08-29T11:57:51.350492+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T11:57:51.351977+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T11:57:51.353418+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T11:57:51.355092+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T11:57:51.356938+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
