elm-basic-compile: justCompile


I’ve had a stack depth greater than 1 for a bit but took some time to revisit the javascript code hosting the elm compiler in javascript. There is now an npm package and a definite entry point, justCompile.

Used this way, the elm compiler could be used as a pretty simple utility (if a heavy one, weighing in at around 12mb) that could be used to provide typed, elm language scripting in web apps will all the elm guarantees and assistance. At this point it is very immature, but I think it will improve reasonably in early 2017.