# rust-bakery/nom

Rust parser combinator framework

Repository: https://github.com/rust-bakery/nom
Canonical: https://ross.abutalabs.com/products/nom
Language: Rust
License: MIT
License Family: permissive
Topics: rust, parse, parser-combinators, nom, parser, byte-array, grammar
Last push: 2025-08-26T11:10:34+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 38, release rhythm 35, longevity 100
- inputs: {"age_days": 4301, "days_push": 372, "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 10459, forks 848 (observed 2026-08-28T04:10:42.040497+00:00)

## What it is
nom is a parser combinator library for Rust that lets you build safe, fast, zero-copy parsers for binary and text formats using combinators, macros, and traits. It leverages Rust's strong typing and memory safety to produce correct parsers without sacrificing speed or memory efficiency.

## Use cases
- parse binary file formats in rust
- write a text format parser
- build a programming language parser
- parse streaming data incrementally
- parse protocols or byte arrays
- create a grammar-based parser without heavy dependencies

## When to choose
- you need fast, zero-copy parsing in Rust
- you're parsing binary formats or byte streams
- you want composable parser building blocks instead of a grammar generator
- memory safety and correctness matter

## When to avoid
- you prefer declarative grammar tools like LALRPOP or pest
- you need a full compiler frontend with AST tooling
- you're not working in Rust

## Facets
- artifact type: library
- maturity: stable
- function: parser
- domain: parsers, developer-tools
- platform: rust
- tags: parser-combinators, zero-copy, binary-parsing, text-parsing, streaming, byte-oriented

## Member repositories
- rust-bakery/nom (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:42.040497+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-29T17:19:00.112013+00:00, confidence not recorded.
  - readme: https://github.com/rust-bakery/nom (fetched 2026-08-28T04:10:42.040497+00:00, sha b1dbcf3fb7be)
  - registry_crates: https://crates.io/api/v1/crates/nom (fetched 2026-08-29T08:18:02.667575+00:00, sha b6bd58e8a3d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
