nessie-parse

Crates.ionessie-parse
lib.rsnessie-parse
version0.1.7
created_at2025-06-09 17:25:22.622228+00
updated_at2025-08-25 19:10:05.811813+00
descriptionA parser library for easily combining parsers together
homepage
repositoryhttps://github.com/yonatan-reicher/nessie-parse
max_upload_size
id1706188
size1,518,464
Yonatan Reicher (yonatan-reicher)

documentation

README

Nessie Parse

Nessie Parse Logo
What if parsing was easy?

This library let's you define a parser for your language by combining smaller parsers together in a simple and familiar syntax to Iterator and Option types. This way of combining parsers together is called parser combinators.

Non Goals

What does this library not try to achieve?

  • Good error reporting
  • Warnings
  • Good Performance
  • Non-UTF-8 text parsing

Inspired By

The reason I believe in parser combinators is because of Elm. Elm's compiler has great error messages and one of the best white-space-sensitive syntax I've seen implemented. That compiler is implemented in Haskell and uses parsers-as-monads. You can't have do notation for monads in Rust, but you can get close to it.

Commit count: 40

cargo fmt