komb

Crates.iokomb
lib.rskomb
version0.5.1
created_at2024-12-28 10:22:43.994+00
updated_at2025-04-01 17:58:42.651881+00
descriptionLow-level parsing utilities
homepage
repositoryhttps://github.com/kaathewisegit/komb
max_upload_size
id1497332
size46,178
Andrej KolĨin (kaathewisegit)

documentation

README

Komb

Komb started out as a parser combinator library, inspired by nom, winnow, combine, and the like. I wanted to keep it basic and fast. In the end, I couldn't do that, so I pivoted the crate.

Now Komb is a set of low-level parsing helpers, types, and utilities I found useful while writing parsers. The new design is heavily inspired by the macro output of the peg crate: parsers take an immutable reference to the input and the current position and return a pair of the parser output and an advanced position. You can see the ParseResult documentation for the error handling philosophy.

Aside from that there's an in-progress stub for a reporter which is supposed to be a lightweight generator of Rust-like diagnostics (similar to ariadne, miette, codespan).

Commit count: 267

cargo fmt