On Friday, December 2, 2016 at 10:51:20 AM UTC, Rupert Smith wrote: > > Plan is to try and run it under Java Nashorn (Java's default javascript > engine). Should be interesting... >
So I have tried running some of the node based elm tools, elm-test and elm-repl under Nashorn. Nashorn requires a shim library to make it node compatible and there are 2 to choose from, Avatar.js and Nodyn.io. Niether worked out of the box and they are both tumbleweed projects, so I think that puts an end to exploring that option. I don't really need to run these tools under Nashorn, it just might have been convenient to run the repl and run elm-tests to check that tests are behaving the same under Nashorn. But I can always use the pure Elm htlm test runner. So next plan is to compile a simple example that uses htmlToString to render some HTML and figure out what minimal amount of JS needs to be written to call it, then hope it all runs under Nashorn. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
