rcombinators

Crates.iorcombinators
lib.rsrcombinators
version0.1.0
sourcesrc
created_at2019-06-18 18:24:11.956542
updated_at2019-06-18 18:24:11.956542
descriptionA parser combinator library in rust.
homepage
repositoryhttps://github.com/dermesser/rcombinators
max_upload_size
id141991
size48,450
Lewin Bormann (dermesser)

documentation

README

rcombinators

Build Status

rcombinators is a Rust version of the pcombinators library, providing parser combinators in Rust. As opposed to some other parser libraries it works without much magic syntax for users; however this also means a bit more boilerplate and occasionally less performance due to the "pedestrian" way of doing things.

Compared to pcombinators we still achieve up to 100x more throughput as well as type safety, making writing parsers less error-prone.

An example of a working parser can be found in examples/json/, which is a working yet simplistic JSON parser (it doesn't work with escaped characters in strings, for example), demonstrating how to combine the parsers provided by rcombinators.

Commit count: 44

cargo fmt