Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

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

    Small build system changes to improve build times

    Build the dynlink compiler lib with -Oclassic because performance really don't matter for it, and move backend dependencies outside the build critical path to improve parallelism

    Pierre Chambart (@chambart)
  2. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Sound layout generalisation and nicer errors in inclusion checks

    This raises a nice error when moregen accepts setting a weak variable to a generic one.

    Jakub Bachurski (@jbachurski)
  3. IssueW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Speculative specialization

    @Gbury: Idea: do not keep the specialized code if the benefit is not worth it (in particular, avoid duplicating the code if nothing has changed during the re-simplification)

    Pauline Lam (@pauline-lam)
  4. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Stop building the old instrumented runtime

    We don't use this, so no point compiling it over and over again.

    Stephen Dolan (@stedolan)
  5. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Stopgap fix of functional update of records with >= max_young_wosize fields

    This is the minimal fix that does the same thing as: #7227

    Pierre Chambart (@chambart)
  6. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Store argument block metadata in .cmi files

    Move argument projection metadata into .cmi files for instantiation and functorization.

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

    Store int id data for code in file sections

    The exported data for names and continuations that are bound in exported code is currently stored in the main index for all int ids data, which must be deserialized before getting any exported information from a .cmx file.

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

    Support generalized sort variables in primitive applications

    Previously, primitives (even those annotated with [@layout_poly]) could not be applied to types whose sorts contain generalized variables. This stops us from writing something like the layout-polymorphic identity primitive:

    Joe Kerrigan (@joe-kerrigan)
  9. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Support mixed tuples

    Adds support for mixed tuples by extending various tuple-related data definitions with Jkind.Sort.ts, similar to the tracking done for unboxed tuples. This allows for code de-duplication between cases for unboxed and boxed tuples across the frontend.

    Zack Eisbach (@zackbach)
  10. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Support tail mod cons destinations in mixed blocks

    As title. This is needed for layout polymorphism, as there are many functions we'd like to make layout poly that use tmc.

    Chris Casinghino (@ccasin)
  11. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Support undetermined constructor shapes in `value_kind`

    For records and variants containing any, compute Pvariant value_kinds even when some constructor representations are undetermined, instead of bailing out to Pgenval for the whole type.

    Ryan Tjoa (@rtjoa)
  12. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    TLS per preemptible fiber

    TLS state is now per-preemptable-fiber rather than per-systhread. Main stacks also count as preemptable. Non-preemptable fibers see TLS state from the nearest enclosing preemptable fiber. Creating a preemptable fiber or main stack splits TLS state.

    Max Slater (@TheNumbat)
  13. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    TMC now closes regions before recursing

    Previously, TMC annotated functions that had local allocation failed to close the region before recursing, leading to these functions using unbounded stack space. This commit changes the TMC pass to attempt to close the region when safe to do so. In the event it's not safe, we now raise a warning instead of silently producing a function that behaves unexpect…

    Aaron Eline (@aaronjeline)
  14. IssueW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    The reaper

    Mark Shinwell (@mshinwell)
  15. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Track modality annotation provenance in mode hints

    This PR extends the Annotation mode hint to work with (1) modality annotations and (2) track implied modes/modalities.

    Gavin Gray (@gavinleroy)
  16. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Tweak the `Apply_non_function` error message

    Editors (and humans, to a certain extent) place more emphasis on the first thing they're told. If a function is applied to too many arguments, we dutifully state the type error first, but it is perhaps better to explain the problem (too many arguments) and then the reason (the function's type) second. For unit-returning functions, we already correctly insert…

    David Allsopp (@dra27-js)
  17. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Under LTO, make the Reaper assume a closed world

    The Reaper solver currently assumes an open world: other units may depend on the current one(s), and may do anything with them. For LTO, we want to assume that the set of participants we can see is closed, and no other units will depend on them (though the participant units may still depend on non-participants, for example stdlib).

    Miriam Vellacott (@mirivella)
  18. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Update ocaml-compiler-libs for public-release / OxCaml

    Supersedes #7368 by instead fixing the underlying problem: the missing .cmi files are historical artefacts.

    David Allsopp (@dra27-js)
  19. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Use the findlib cli instead of linking against it

    This PR is an alternative for #6983. Instead of dropping findlib support, this PR migrates Merlin to using the findlib cli rather than linking against the findlib library. The motivation is to avoid needing to vendor findlib into the repo, which would otherwise be necessary in order to build Merlin with oxcaml and include it in the compiler distribution.

    Liam Stevenson (@liam923)
  20. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Various OxCaml-related optimizations

    (WIP)

    Max Slater (@TheNumbat)