A very minimal parser combinator library.
These can be seen inside the examples
directory.
- A
json
parser made with this library. This took about 130 lines (excluding testing)
To run any of them, siply run cargo run --example <name>
.
Supports parsing of UTF-8 characters, not just ASCII.
Right now you can create (let a, b be types):
- Parser a
- Parser (a and b)
- Parser (a or b)
- Parser (f a)
- Better Error handing
- Parser bytes instead of characters
At some point it should use this_error, and miette.