3 ms·
There is also a compiler for OCaml bytecode to JavaScript, called js_of_ocaml[0]. It's been around for a while, but I've only recently started using it. It's go
by seliopou 11y ago
There is also a compiler for OCaml bytecode to JavaScript, called js_of_ocaml[0]. It's been around for a while, but I've only recently started using it. It's got a pretty good FFI, and makes futures-based programming via lwt[1] very convenient.
[0]: http://ocsigen.org/js_of_ocaml/ http://ocsigen.org/js_of_ocaml/
[1]: http://ocsigen.org/lwt/ http://ocsigen.org/lwt/
- nickpsecurity 11y agoA similar, more mature & full-featured, approach. Has the power of the Ocaml community going for it. Quite the head start. :)
- birdsbolt 11y agoThere's also a compiler for Haskell to JavaScript called GHCJS[0]. Many of Haskell libraries can be compiled easily. I think someone compiled Pandoc directly to JS and made a web interface and bundled the app[2]. One interesting things besides web that people have been doing with it is writing Atom editor plugins[1]. [0]: https://github.com/ghcjs/ghcjs https://github.com/ghcjs/ghcjs [1]: http://edsko.net/2015/02/14/atom-haskell/ http://edsko.net/2015/02/14/atom-haskell/ [2]: http://markup.rocks/ http://markup.rocks/