parsley icon indicating copy to clipboard operation
parsley copied to clipboard

A fast and modern parser combinator library for Scala

Results 29 parsley issues
Sort by recently updated
recently updated
newest added

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

bug
backport 4.4
backport 4.5

The error labelling should be performed only on the `Some` case.

bug
backport 4.4
backport 4.5

The logic for `labelSymbolPunctuation` is not actually hooked into the symbol implementation.

bug
backport 4.5

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

bug
backport 4.4
backport 4.5

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

enhancement
minor

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?

enhancement
minor
major

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

enhancement

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

enhancement
minor

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

enhancement
major