Crates.io | nessie-parse |
lib.rs | nessie-parse |
version | 0.1.7 |
created_at | 2025-06-09 17:25:22.622228+00 |
updated_at | 2025-08-25 19:10:05.811813+00 |
description | A parser library for easily combining parsers together |
homepage | |
repository | https://github.com/yonatan-reicher/nessie-parse |
max_upload_size | |
id | 1706188 |
size | 1,518,464 |
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.
What does this library not try to achieve?
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.