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

https://github.com/elm/parser/blob/master/src/Parser.elm#L170 The documentation implies a basic working implementation, but currently it's just a placeholder: ```elm deadEndsToString deadEnds = "TODO deadEndsToString" ```

This comment isn't in line with what the code actually does, and given code can't lie but comments can, the place to fix is probably the comment. See [findSubString](https://github.com/elm/parser/blob/master/src/Elm/Kernel/Parser.js#L123) -...

Requesting a `mapProblem` function that works like `mapError` in `Result`.

A very simple conversion of problems to strings. I'm creating the PR as a first step for review.

I'm not exactly sure what is going on, or what is being accepted, but here is an example of `Parser.int` eating input starting with the letter `e` (although it doesn't...

`getIndent` has a default of `1` as opposed to `0` as [mentioned in the docs](https://package.elm-lang.org/packages/elm/parser/latest/Parser#getIndent). ``` module Main exposing (main) import Html exposing (text) import Parser main = case Parser.run...

One line in the docs currently says "interactivite" instead of "interactive". This is just a small patch to fix that.

Previously `\u` Unicode escape codes of between 4 and 6 characters were being rejected, whereas the error message indicates that the inverse should be the behavior. The example has also...