[ANN] Js_of_ocaml 5.5.2

I’m pleased to announce the release of js_of_ocaml 5.5.2. It should soon be available in opam.

Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it
possible to run pure OCaml programs in JavaScript environment like browsers and
Node.js.

Most significant changes:

  • Improve support for modern javascript
  • New global dead code elimination pass. Jsoo can now drop unused code inside functors. See the pull request for more details
  • Change strategy used for control flow compilation. It was adapted from wasm_of_ocaml and based on the following paper https://dl.acm.org/doi/abs/10.1145/3547621.

See the Changelog for other changes.

25 Likes

Js_of_ocaml 5.6 was released recently with many fixes related to its javascript parser/printer/minifier

6 Likes