elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.51k stars 660 forks source link

Support using `deno` as interpreter for `elm repl` and Document how to do it #2122

Open vyuh opened 4 years ago

vyuh commented 4 years ago

Quick Summary: I found that elm repl --interpreter deno works. It only gives many Uncaught SyntaxError and undefined messages before printing results. Can we have elm repl support deno as interpreter instead of node? May be by passing a proper deno command line to the --interpreter flag.

Additional Details

github-actions[bot] commented 4 years ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.

jfmengels commented 4 years ago

@vyuh I think it will be useful to the maintainers if you can document some specific use-cases or benefits for enabling the repl to run on deno.

Enabling this will likely require an investment in time and learning in order for them to support a new platform, as well as additional maintenance costs for the future (supporting multiple platforms). Hence, it's likely that this won't get prioritized unless there are clear benefits.