Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    fix: Pprintast incorrectly prints exclave-of-seq

    (exclave_ ()); () prints as exclave_ (); () which parses as exclave_ ((); ())

    Will Sturgeon (@wrsturgeon)
  2. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    fix: TOCTOU in `ocamltest` `mkdir`

    five-line change: try mkdir then catch an exception noting that a file already exists, instead of checking whether that directory exists and then (after an arbitrarily long-tailed delay) trying to mkdir

    Will Sturgeon (@wrsturgeon)
  3. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda2: Bind the module symbol directly to the module block

    Closure conversion used to pass the final module block to a continuation whose handler read every field back out of it and then defined the module symbol as a new block containing those fields. In some cases this isn't necessary, which saves on static data, and helps avoid code patterns that can be slow to compile in the backend.

    Mark Shinwell (@mshinwell)
  4. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda2[types]: Variable.Lmap.t in env extensions with extra variables

    Reducing iterations on the Int_ids hashes order is always good, especially across renamings.

    Basile Clément (@bclement-ocp)
  5. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda: Compute likelihood on switch arms

    This is #7424, reopened as part of a stack.

    Basile Clément (@bclement-ocp)
  6. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda: Print num occurrences of lets

    The number of occurrences is impactful for the generation of CMM, and computing it incorrectly can lead to worse code generation. We already print the number of occurrences for continuations; print it for variables also.

    Basile Clément (@bclement-ocp)
  7. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda: Propagate `[@cold]` continuations in simplify

    This PR propagates "coldness" both downwards (everything in a cold context becomes cold) and upwards (everything that can only reach cold code becomes cold) simplification passes.

    Basile Clément (@bclement-ocp)
  8. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda: Store free_names and cost_metrics on rebuilt expressions

    Instead of accumulating the information in the upwards env, which is brittle and fails whenever we forget to set UA.with_name_occurrences and UA.with_cost_metrics (for instance, the name occurrences were not properly updated when elimininating a switch, see tests).

    Basile Clément (@bclement-ocp)
  9. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda[types]: Symbols are never null

    Update the initial_symbol_type to be any_non_null_value. This is mostly harmless but has some subtle impact, notably because it makes us store types for for symbols if all we know is that it is not null (or, in fact, if we know that it is maybe null under the other representation of being maybe null, see the comment on TG.head_of_kind_value).

    Basile Clément (@bclement-ocp)
  10. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    flambda_to_fexpr: replace invalids by a placeholder to reduce test churn

    Some files changed frequently and were a source of conflicts because of the ids in the invalid strings. This avoids the problem by replacing the invalid with a placeholder.

    Nathanaëlle Courant (@Ekdohibs)
  11. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    js_of_ocaml: bring in additional fixes and changes

    ⚠️ Each commit is independent from each other, please avoid squashing

    Robin Ricard (@rricard)
  12. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    js_of_ocaml: distribute more libraries and binaries

    Distribute via nix more jsoo components: ppx_js, ocaml compiler libs, minify, etc...

    Robin Ricard (@rricard)
  13. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    js_of_ocaml: merge in upstream as of 2026-09-25

    ⚠️ Do not squash to conserve history of the subtree

    Robin Ricard (@rricard)
  14. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    js_of_ocaml: regenerate js_of_ocaml_stubs.c and catch stale promoted sources in CI

    Summary

    Jacob Van Buren (@jvanburen)
  15. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    js_of_ocaml: suggestions from upstream over OxCaml patching

    Implements suggestions from @vouillon discussed in #7073.

    Robin Ricard (@rricard)
  16. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    js_of_ocaml: support atomic indices and pointers

    Atomic indices and pointers are supported in bytecode, but JSOO is missing the necessary runtime functions. This PR adds the missing caml_atomic_*_idx_bytecode runtime functions, supporting both atomic indices and pointers (which lower through the same path).

    Joe Kerrigan (@joe-kerrigan)
  17. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    ppxlib: apply patches from ppxlib opam

    Applies patches found on opam to make ppxlib compatible with ox:

    Robin Ricard (@rricard)
  18. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    ppxlib: merge 377fee

    Merge ppxlib 377fee7 into external/ppxlib

    Robin Ricard (@rricard)
  19. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    ppxlib: re-adapt ppxlib to the current state of ocaml

    Re-applies some previously needed patching on top of ppxlib 0.38+

    Robin Ricard (@rricard)
  20. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    ppxlib: realign patching to prep for pplib 0.38

    This realigns ppxlib to the latest changes we're tracking.

    Robin Ricard (@rricard)