This went pretty smoothly, I just followed the compiler errors after substituting Integer for Int in the type definition. The only tricky thing is that the div and mod functions for Integer return Maybe Integer rather than just Integer, so I need to wrap those or something? (For now I just put in add to get it to compile.) Oh, and "not equal" is not correct? The compiler didn't complain. |
||
|---|---|---|
| .. | ||
| 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.