I have combined Patsopt and Atscc2js.
Now it is all the way from ATS source to C code to JS code to
the evaluation of the JS code:
http://ats-lang.github.io/EXPERIMENT/patsopt-atscc2js-trial/index.htmlYou probably need Firefox to test it as the stack of a WebWorker in
Chrome is often too small for running patsopt.
Thanks to the Emscripten team!
And special thanks to Will Blair for getting me started on this and for piloting
the work!
As I see this, it is really a small miracle that the whole thing actually works :)
Cheers!