A basic arithmetic expressions evaluator example

Hi,

I tried to use the error contexts of elm-tools/parser to improve the error messages. There is not much to see and this is far from perfect, but hopefuly this can be helpful to get started with this library:

Demo here, Ellie there.

Feedback is welcome, particularly if you find some issue or if you have some idea how to make the chainLeft function more readable (or anything else).

Note: I’m not sure if this is a good idea to put the Ellie link in the github README, tell me if it’s better to remove it.

4 Likes