glue 0.8.7

Glue is a parser combinator framework for parsing text based formats, it is easy to use and relatively fast too.
Documentation
1
2
3
4
5
fn line_space<S, U: Parsable>() -> impl Parser<S, U> {
    move |state: S, input: U| take(0.., if_then(isnt("\n"), is(whitespace))).parse(state, input)
    //                             ┃                  ┃             ┃
    //                             1                  2             3
}