0.2.0 |
|
---|---|
0.1.1 |
|
0.1.0 |
|
#26 in #subject
34 downloads per month
16KB
430 lines
0xParser
Parser Combinator crate.
Info
README is subject to change.
How to use
let res = parse(
"Hello World",
map(
sequence(vec![string("Hello"), spaces(), string("World")]),
|r| Ok(vec![r.join("")]),
),
);
assert_eq!(
res.unwrap().val,
vec!["Hello World".to_string()]
);
Dependencies
~2–3MB
~54K SLoC