Registry / utility / chomp
library0.3.1rscratesunverified

A fast monadic-style parser combinator designed to work on stable Rust.

# Cargo.toml [dependencies] chomp = "0.3.1"
INSTALL
IMPORT
SIG · CHOMP
C
chomp
utilityrustv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse_only
✓ use chomp::parse_only;

Parses a simple string using Chomp combinators.

use chomp::{parse_only, satisfy, string}; let parser = parse_only(|i| { let _ = string("hello", i)?; satisfy(|c| c == ' ')(i) }); let result = parser(b"hello world"); assert!(result.is_ok());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
11
Amazon
1
Resources
chomp — cargo add chomp · libregistry