A minimalistic Parser Combinator Library
A very minimal parser combinator library.
Example/s
These can be seen inside the examples directory.
- A
jsonparser made with this library. This took about 130 lines (excluding testing)
To run any of them, siply run cargo run --example <name>.
Features
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)
Todo's
- Better Error handing
- Parser bytes instead of characters
Notes
Error Handing
At some point it should use this_error, and miette.