Re: Parser.deadEndsToString not implemented - what do you guys do?

re: Parser.deadEndsToString not implemented - what do you guys do?

I made some helper code that’s just a bit more advanced than the most basic implementation of deadEndsToString. The idea is to process the error data with the input and then render it on the page with html or elm-ui.
I thought I’d make it into a elm package but since I never got to it I figured I would just push it to a git repository. So here it is: GitHub - Sakisan/parser-ui: helper functions for visualizating errors from elm/parser
and I wrote an introduction to it here: https://sakisan.github.io/parser-ui/

It should be hopefully be copy-paste-able for your own projects.

7 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.