I am going to start working on a webapp, and am currently deciding which language/tech/framework/etc to use. Elm is my first choice but I am anticipating a potential issue:
Chrome OS will be the primary platform where the app will be used. While I don’t anticipate any problems running an Elm app on Chrome OS, the design of the app is such that I want to give people the ability to customize the app and create additional functionality using whatever language the app itself will be written in.
With the above design goal in mind, I wanted to ask if there are any plans for compiling Elm code locally within a webapp? I am familiar with Ellie, but the last time I looked into it, there was still a server component required for the compilation process.
As best I can tell, compiling Elm directly in the browser would currently require some kind of Haskell → JS transpiler. There seem to be a few efforts along these lines like Haste or ghcjs, but I’m not familiar with Haskell so I don’t know if the Elm compiler, as it’s currently built, can work with these tools.
Any thoughts about the near-term (or long-term) viability of compiling Elm within a webapp?