Jamie Willis

Results 37 issues of Jamie Willis

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

**Is your feature request related to a problem? Please describe.** Occasionally, after having generated one syntax error, it may be possible to resume the parse and generate further syntax errors....

enhancement
major

**Is your feature request related to a problem? Please describe.** Chain combinators more often than might be expected require type ascriptions when used with regular lambdas. This is because there...

enhancement
major

Parsley currently accepts providing input as a `String` and parsing directly from a `File`. However, the file support is limited, and still reads in the entire file into memory in...

enhancement
minor

Parsley 4 introduced some improved Unicode support for caret width; however, this support is reasonably limited. Ideally, position information would _also_ be adjusted with respect to the number of codepoints...

enhancement
patch

**Version(s)** 1.1.0 **Describe the bug** In a cross-built project with multiple platforms, setting the package type to be native does not force the compiler to compile with the native platform,...

bug

While `rollback` allows the user to roll state back within a local computation if it failed, it only works if the parser in question does not consume input. There is...

enhancement

Although it's often not specified by the grammar, parsers should be careful to consider how whitespace is consumed and different tokens separated lexically. This can get really messy though, and...

pitfall