Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 641 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 641 Bytes

A minimalistic Parser Combinator Library

A very minimal parser combinator library.

Example/s

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>.

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.