3 ms·
None of these are Standard ML! There are people who prefer SML for various reasons. Somewhat unexpectedly, there is in fact already a very good SML-to-browser
by Athas 7y ago
None of these are Standard ML! There are people who prefer SML for various reasons.
Somewhat unexpectedly, there is in fact already a very good SML-to-browser solution, namely the unfortunately named SMLtoJs: https://github.com/melsman/mlkit/blob/master/README_SMLTOJS.md https://github.com/melsman/mlkit/blob/master/README_SMLTOJS....
It's from 2011 and so predates most other Javascript-targeting languages. It's unfortunate it never got any traction.
- eatonphil 7y agoSOSML [0] came out recently, written in TypeScript and sporting an online interpreter. Then there's this prominent SML-er's JavaScript backend for Moscow ML [1]. And Andreas Rossberg's HaMLet [2] also has a JavaScript backend. [0] https://github.com/SOSML/SOSML https://github.com/SOSML/SOSML [1] https://github.com/kfl/mosml-js https://github.com/kfl/mosml-js [2] https://people.mpi-sws.org/~rossberg/hamlet/ https://people.mpi-sws.org/~rossberg/hamlet/