Like a total newbie I put the call to the interpreter in the view function instead of the update function! I thought it was weird having to specify the HTML twice, but I figured I was just doing it wrong. I was, but not in the way I suspected. In any event, I like how this make it clear that errors can't affect the dictionary. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| README.md | ||
| elm.json | ||
README.md
Joy interpreter in Elm
Simple pleasures are the best.
This interpreter written in Elm is part of the Thun project.
You should be able to run elm reactor in this directory and then
browse to http://localhost:8000/src/Main.elm to try the interpreter.