Js_of_ocaml is a compiler from OCaml bytecode to JavaScript, making it possible to run OCaml programs in a web browser.
Features
- The whole language ocaml and most of the standard library are supported.
- The compiler is easy to install: it only depends on Findlib and optionally ocaml-lwt.
- The generated code is independent of Eliom and the Ocsigen server. You can use it with any web server.
- You can use a standard installation of OCaml to compile your programs. In particular, you do not have to recompile a library to use it with Js_of_ocaml. You just have to link your program with a specific library to interface with browser APIs.