js_of_ocaml
js_of_ocaml copied to clipboard
Compiler from OCaml to Javascript.
The folks at Funkyworker have an API that nicely sidesteps the type unsafety of the JS Promise API: https://github.com/funkywork/nightmare/blob/main/lib/js/promise.mli (see also https://github.com/funkywork/nightmare/blob/main/lib/js/stubs/caml_promise_stubs.js) Should we consider including it in Js_of_ocaml? I...
Is there some sort of best practice for this requirement?
# Summary This PR partially adds a wrapper of [CSS Font Loading API](https://developer.mozilla.org/en-US/docs/Web/API/CSS_Font_Loading_API) This PR includes: - `css_font_load.ml(i)` : actual implementation of the wrapper - adding a property `fonts` to...
**Describe the bug** I am trying the counters sample from ocaml-vdom repo (https://github.com/LexiFi/ocaml-vdom/tree/master/examples/counters). I have put the ```(modes wasm)``` in the dune file. However, trying to view the UI in...
To generate Wasm code that makes use of the Stack Switching proposal, you first need to install the development version of Binaryen (or version 124 once it is released). Then,...
and move compilation of some primitives out of `generate.ml` into the runtime