3 ms·
OCaml also has a compiler to JavaScript - BuckleScript[1]. There is also js_of_ocaml[2], jsoo in short. Though I personally hope they will go with the WebAssemb
by xvilka 6y ago
OCaml also has a compiler to JavaScript - BuckleScript[1]. There is also js_of_ocaml[2], jsoo in short. Though I personally hope they will go with the WebAssembly route[3] and support it in the mainstream compiler out of the box.
[1] https://bucklescript.github.io/ https://bucklescript.github.io/
[2] https://ocsigen.org/js_of_ocaml/3.6.0/manual/overview https://ocsigen.org/js_of_ocaml/3.6.0/manual/overview
[3] https://discuss.ocaml.org/t/state-of-ocaml-and-web-assembly/2725 https://discuss.ocaml.org/t/state-of-ocaml-and-web-assembly/...