parsley
parsley copied to clipboard
A fast and modern parser combinator library for Scala
# Parsley `5.0.0` Staging PR This is the PR encompassing all changes for version `5.0.0`. As this is substantial new functionality, it will be previewed incrementally starting with `5.0.0-M1`. When...
The `label` application in `_bounded` takes `false` in both unsigned and signed parsers.
The error labelling should be performed only on the `Some` case.
The logic for `labelSymbolPunctuation` is not actually hooked into the symbol implementation.
When two errors merged and one is entrenched and the other is not, merging will drop any entrenchment, losing the protection of the error. Instead merged errors need to take...
**Is your feature request related to a problem? Please describe.** As of parsley `4.0.0`, `many` and `some` can be used to parse zero/one or more values into a `List`. This...
For a cleaner "syntax", both of these combinators should be curried. It's unclear whether this can be done as a minor change without causing a clash?
Sometimes, a `local` combinator just needs to restore an old state, as opposed to adjusting it on entry. This can be captured by `reg.local(identity _)(p)`, but this could be more...
**Is your feature request related to a problem? Please describe.** When parsing programming languages and other grammars with nested structure, it is possible that layers of context are passed through....
Some languages do not allow leading zeros on the numeric literals, but do within the exponents of scientific notation. Currently, disabling the leading zero also disables it for the exponents:...