Hacker News new | ask | show | jobs
by adamcanady 2312 days ago
Js_of_ocaml [1] is a good alternative to BuckleScript for standard OCaml (non-Reason).

For example, it works well with Core_kernel [2] and Async_kernel [3] to provide high-level functionality that is cross compatible between Unix applications and browser applications.

[1] https://github.com/ocsigen/js_of_ocaml

[2] https://github.com/janestreet/core_kernel

[3] https://github.com/janestreet/async_kernel

2 comments

To be clear, Bucklescript also works with standard OCaml (because Reason is just an alternative surface syntax).
Js_of_ocaml works fine with Reason, though.