The new version of the early alpha prototype of pest3 was published on crates.io! You can try it with: pest3 = { version = "0.0.2", features = ["derive"] } It now supports meta-rules, which is a ne...
I can’t go back to parsers with grammar definitions after using parser combinators; it just feels so unelegant and verbose. I guess Rust doesn’t have monadic syntax sugar like more functional languages, so it makes parsers in Nom a bit more ugly than Parsec, but I still prefer it.
I can’t go back to parsers with grammar definitions after using parser combinators; it just feels so unelegant and verbose. I guess Rust doesn’t have monadic syntax sugar like more functional languages, so it makes parsers in Nom a bit more ugly than Parsec, but I still prefer it.
Normally I agree, but I found that Pest’s grammar definitions double as documentation on the language syntax. Nom is much more ergonomic though.