parser icon indicating copy to clipboard operation
parser copied to clipboard

A parsing library, focused on simplicity and great error messages

Results 41 parser issues
Sort by recently updated
recently updated
newest added

Similar to #28, the float parser comitts when it encounters an 'e', making it impossible to have a parser that reads either a float or some text: ```elm floatOrText =...

The documentation for `Parser.commit` points the user towards https://github.com/elm/parser/blob/master/semantics.md. However, this document makes no mention of `commit`.

Hi :wave: I noticed that a link in this file was not leading to the expected location. PS: I noticed this through an `elm-review` rule to be published soon :)

I tried to compile code that wrote in documentation and it's not compiles. I have no idea how it should work without valid example https://package.elm-lang.org/packages/elm/parser/latest/Parser-Advanced#inContext

Hello, I have ran across this This works: ```elm parser : Parser () parser = Parser.lazy (\_ -> parser) ``` But this ```elm parser : Parser () parser = Parser.lazy...

Parse.Primitives needs comments to explain the diff between consumed ok/err and empty ok/err

Hey, I'd like to propose having the ability to `recover` from a parser. This would be similar to `oneOf` but allows you to capture the context/problem of parser that failed....

Because elm/parser is recommended over using regex, there should be some examples showing how to make a parser for both simple and complex regex. If you guys agree, I'll make...

Super basic implementation of this!