js_of_ocaml icon indicating copy to clipboard operation
js_of_ocaml copied to clipboard

Compiler from OCaml to Javascript.

Results 159 js_of_ocaml issues
Sort by recently updated
recently updated
newest added

**Describe the bug** If two separate ocaml libraries have JS stubs which define the same symbol ion `joo_global_object` (e.g. two different versions of [src-bindings/node/dune](https://github.com/ocamllabs/vscode-ocaml-platform/blob/ec65574c1df971a6632af3b6ffd2b051f0ebf649/src-bindings/node/dune#L6) in the OCaml VSCode extension) they...

bug

This is best reviewed commit by commit. It adds a number of missing conversions, and other changes that have been performed in Wasm_of_ocaml in order to expose number-manipulating functions that...

With https://github.com/ocaml/ocaml/pull/12735, resuming a continuation is constant time. We should do the same.

enhancement

**Note:** This PR depends on #1649 and #1654 and is based on top of them. The proposed feature is contained only in the last commit. This PR contains @vouillon's work...

**Note:** This PR depends on #1649 and is based on top of it. The feature change consists in the last two commits. This: - Updates the typing of `Typed_array` so...

This is for compatibility with wasm_of_ocaml, in which Javascript numbers and floats cannot be manipulated using the same functions and require conversions. I open this as a draft PR because...

blocked

This PR leverages the recent support for index sourcemap to make sourcemap generation faster. We no longer decode or edit mappings. When compiling cma to js. We emit one sourcemap...

I started working on improving the source map output of Wasm_of_ocaml, and got a bit side-tracked... Many changes to preserve debug information from the bytecode as well as possible and...