Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Update dunelike tests to match how dune builds parameterised libraries

    Dune no longer generates the No_direct_access_to_* shadowing bindings (aliasing mangled unit names to the missing No_such_module) in internal interfaces (the generated Basic__, Fancy__, etc. modules that alias each library's mangled units); direct access to build-unit-internal modules is instead prevented at the flag level. This updates the templates/dunelik…

    Zesen Qian (@riaqn)
  2. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Update level operation

    Added the update_level operation, which lowers the level of a variable.

    ainageorges
  3. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Use alloc_regions to track zero-alloc annotations.

    This adds the New_alloc_region and Close_alloc_region primitives, used to track zero-alloc annotations. The Close_alloc_region primitives can be integrated into apply_conts, to avoid them affecting code generation (especially with the simplification of switch expressions). Part of #5278.

    Nathanaëlle Courant (@Ekdohibs)
  4. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Use ambient lattice bounds in jkind normalization

    Use lattice-valued ambient bounds to avoid axis-set skip conversions in jkind normalization.

    julesjacobs
  5. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Use ikind provenance for declaration bound errors

    This PR improves kind errors for type definitions (type t : bound = RHS) with kind annotations.

    julesjacobs
  6. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Use named binders for shapes

    TL;DR Building on top of #4916, this PR moves the use of De Bruijn indices from the shape level to the level of runtime shapes. This has the key benefit that we save ourselves a costly, recursive traversal when computing the type shapes.

    Simon Spies (@spiessimon)
  7. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    Use the `neg` instruction for integer negation (amd64)

    As per title; this is done at selection rather than

    Xavier Clerc (@xclerc)
  8. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    [DRAFT] First-class modalities: `t @@ m` as a type

    Poor man's first class modalities: an attempt to get 80% of the value at 20% of the cost (see known limitations below).

    julesjacobs
  9. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    `Lregion_close_return`

    dkalinichenko-js
  10. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    `Persistent_env.compute` should strip excess args

    What the title says.

    Zesen Qian (@riaqn)
  11. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    `Translquotes` prototype

    Quick sketch of a rewritten quote translation to Parsetree-constructing Lambda. Not planned to be merged. Read commit-by-commit.

    Jakub Bachurski (@jbachurski)
  12. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    basic functorization support

    Add basic support for -functorize: bundle parameterised modules into a single functor.

    Zesen Qian (@riaqn)
  13. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    binary-emitter: prevent stale files from causing verification failures

    Found with the testcase on #6640 which failed CI on arm64; vibe-coded fix and testcase by Claude.

    Nathanaëlle Courant (@Ekdohibs)
  14. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    cleanup: Get rid of some unused code

    The append parameter to Variable.rename is no longer used, and it is dangerous since #4243 -- better be explicit about the name and kind of the expected variable and use create.

    Basile Clément (@bclement-ocp)
  15. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    cost_metrics: count separately size of current code_id and of nested code_ids.

    Fixes #5141.

    Nathanaëlle Courant (@Ekdohibs)
  16. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    flambda2: Rewrite switch with single arm to apply_cont

    This makes them seen as inlinable uses in the downwards pass.

    Basile Clément (@bclement-ocp)
  17. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    from_lambda: fix continuations being called with invalid kinds

    This was causing partial applications with mismatched result continuations to produce code with invalid kinds in the raw flambda.

    Nathanaëlle Courant (@Ekdohibs)
  18. Pull requestW32.2026 · 3–9 Augoxcaml/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)
  19. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    reaper: remove unnecessary registering of kinds

    This also fixes a (very rare) bug, where an unsimplified binding of kind rec_info crashes the reaper. I did not add a test, because having an unsimplified binding of kind rec_info is also a bug, and a fix is coming for that one soon.

    Nathanaëlle Courant (@Ekdohibs)
  20. Pull requestW32.2026 · 3–9 Augoxcaml/oxcaml

    regalloc validator: cost Equation_set.union by overlap, not by size

    regalloc validator: make Equation_set.union cost proportional to the overlap

    julesjacobs