Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    flambda2: fix comparison-to-zero rewrite dropping outer signedness

    Summary

    Luke Maurer (@lukemaurer)
  2. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    flambda2: fix comparison-to-zero rewrite dropping outer signedness

    Updated and cleaned-up version of #6497 because I don't have the rights to push to it.

    Nathanaëlle Courant (@Ekdohibs)
  3. Pull requestW40.2026 · 28 Sep – 4 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)
  4. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    flambda: make function_slots carry their size

    Slot_offsets depend on the invariant that all function_slots have the same size. This ensures that in the types, and will make #7233 simpler.

    Nathanaëlle Courant (@Ekdohibs)
  5. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    flambda[types]: Follow aliases of removed variables

    Otherwise, we can lose information due to additional existential variables.

    Basile Clément (@bclement-ocp)
  6. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    functorize: derive the bundle's block format from the -cmi-file coercion

    transl_functorization hardcoded a 2-field main module block format, but a valid -cmi-file may narrow the [Intf; Make] pair, so the declared format and the coerced block disagreed: flambda2 emits one load per declared field, and the out-of-bounds Block_load traps at run time (bytecode ignores the field count and works).

    Zesen Qian (@riaqn)
  7. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    js_of_ocaml: bring in additional fixes and changes

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

    Robin Ricard (@rricard)
  8. Pull requestW40.2026 · 28 Sep – 4 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)
  9. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

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

    Summary

    Jacob Van Buren (@jvanburen)
  10. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    js_of_ocaml: suggestions from upstream over OxCaml patching

    Implements suggestions from @vouillon discussed in #7073.

    Robin Ricard (@rricard)
  11. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    ocamltest: Make `set` work sensibly within `split`

    Each set has a global effect and can only run once, which is a problem

    Luke Maurer (@lukemaurer)
  12. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    ppxlib: realign patching to prep for pplib 0.38

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

    Robin Ricard (@rricard)
  13. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    reaper: keep unboxed fields in a fixed traversal order

    This is #7235 reopened, which github somehow closed while I was trying to reorder the stack.

    Nathanaëlle Courant (@Ekdohibs)
  14. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    reaper: make closures always have a source

    I think this is a bug that is not reachable currently, but due to how sources are handled (a block is said to have a source if one of its fields have a source, where it should be if all of its non-function-slot fields have a source, but this is hard to write), sets of closures with no value slots and only deleted code_ids will miss their has_source.

    Nathanaëlle Courant (@Ekdohibs)
  15. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    reaper: make rebuild take [rewrite_kind_with_subkind] as parameter

    In preparation for link-time optimization, this PR moves the rewriting of types to the rebuild phase and keeps the rewriting of kinds in the solve phase.

    Simon Spies (@spiessimon)
  16. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    reaper: parameterise the analysis by an analysis scope

    This PR introduces the concept of an analysis scope in the reaper in preparation for link-time optimization. When doing link-time optimization, the reaper is no longer analyzing a single unit but instead a collection of compilation units. This requires making several parts of the analysis parametric over the scope it is running in.

    Simon Spies (@spiessimon)
  17. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    reaper: read params and result arities from the code metadata

    This is #7234 reopened, which github somehow closed while I was trying to reorder the stack.

    Nathanaëlle Courant (@Ekdohibs)
  18. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    reaper: remove slots never used in projections from graph

    That way, the analysis is improved when not using -reaper-local-fields.

    Nathanaëlle Courant (@Ekdohibs)
  19. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    simplify: being tupled is part of a function's effective arity

    This makes it harder to forget to check the is_tupled boolean.

    Basile Clément (@bclement-ocp)
  20. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    simplify: prevent miscompilation which incorrectly promoted tupled calls to known arity

    Note that this is a quick fix to prevent miscompilation. I have an idea to improve that code so that it is able to (correctly) produce known_arity calls in more cases, but this will be a separate PR after this fix.

    Nathanaëlle Courant (@Ekdohibs)