glue 0.1.2

Glue is a parser combinator framework for parsing text based formats, it is easy to use and relatively fast too.
Documentation
glue-0.1.2 has been yanked.

Glue

Glue is a parser combinator library that is designed for parsing text based formats with speed and efficiency.

Usage

use glue::prelude::*;

let input = Context::from("foobar");

assert_eq!(literal("foo").parse(input), Ok((
    // Remaining: bar
    Context {
        input: "foobar",
        start: 3,
        end: 3,
    },
    // Matched: foo
    Context {
        input: "foobar",
        start: 0,
        end: 3,
    }
)))