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 an input channel is in text mode, it is supposed to convert CRLF line endings to LF on Windows. I didn't test the output channels, but...

enhancement

This PR depends on https://github.com/ocsigen/tyxml/pull/308 The Tyxml PR fixes types, names and attributes of Svg animations

blocked

Consider a blank `a.ml` ``` let _ = 1 ``` Now, in node, an error normally allows us to resume, putting us back at the prompt: ``` $ node Welcome...

bug

We should probably wait for dune.3 to be compatible with esy / non-opam workflow, see https://github.com/ocaml/dune/issues/5488

no changelog

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog and https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element I think that I remember that `cancel` and `close` events are not well supported, but they are part of the spec. THIS PR DEPENDS ON CURRENT TYXML...

blocked

**Describe the bug** When compiling code using the OCaml Multicore compiler, I get the following error message: `dune build jsoo js_of_ocaml .js/stdlib/std_exit.cmo.js (exit 1) (cd _build/default/.js/stdlib && /home/pkl/.opam/4.10.0+multicore+no-effect-syntax/bin/js_of_ocaml --pretty --source-map-inline...

Epic

A few months ago on the OCaml forums [@gasche mentioned](https://discuss.ocaml.org/t/blog-post-js-of-ocaml-a-bundle-size-study/9211/14?u=glennsl): > I did a small experiment removing `%{ fmt %}`, `%( fmt %)` and conversion between formats and runtime strings,...

enhancement

**Is your feature request related to a problem? Please describe.** Js_of_ocaml's implementation of `caml_callN` is very costly because it calls `f.length` to check for partial application (I believe?). It seems...

enhancement