Re:OCamlScript – a JavaScript back end for OCaml
by ski91 on Thursday January 07, 2016 @11:39PM
(#10862965)
Interesting to see many type safe functional languages compiling to javascript. Elm is another such project being a haskell-like type safe language which compiles to JS/HTML/CSS.
[ Parent
| on HN ]
Re:OCamlScript – a JavaScript back end for OCaml
by aylmao on Friday January 08, 2016 @01:40AM
(#10863332)
PureScript is another one worth a look
Re:OCamlScript – a JavaScript back end for OCaml
by cannam on Friday January 08, 2016 @04:11AM
(#10863768)
Other compilers for ML-family languages to Javascript:
SMLtoJS (whose site at http://www.smlserver.org/smltojs/ perhaps ironically seems to be down at the moment), which compiles the full Standard ML language (though not the full Basis library)
Yetiscript (https://www.npmjs.com/package/yetiscript) which compiles (a very close approximation of) the Yeti language (http://mth.github.io/yeti/)
Looks like there are some F# options as well, though I haven't tried any and I don't know what the relationship between e.g. Websharper and Funscript is.
Any others?