rcombinators 0.1.0

A parser combinator library in rust.
Documentation

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.