Compiler from OCaml to Javascript.
Js_of_ocaml is a compiler from OCaml bytecode to JavaScript, developed and maintained by the Ocsigen team. The project allows pure OCaml programs to run in browsers and Node.js, and also includes wasm_of_ocaml, a compiler targeting WebAssembly. The system is built in OCaml itself, uses Dune as its build system, and generates JavaScript or WebAssembly output by reading OCaml bytecode files, converting them to an internal representation, optimizing and transforming that representation, and then emitting the target language.