Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

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

    (for benchmarking)

    #7266 #7278 #7293 #7329 #4400

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

    Add Datalog-based validators to various CFG passes.

    Adds validators to Cfg_liveness, Cfg_dominators, Cfg_simplify.Eliminate_dead_code using Datalog. Their purpose is to both to verify the CFG stage of the compiler and check whether using Datalog for this purpose is a good idea.

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

    Add `%box` and `%unbox` primitives (alpha)

    Add layout-directed box and unbox primitives. They are unsound and gated behind -extension layouts_alpha until we restore the "boxing invariant" among all type representations.

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

    Add `Addr` and `Addr_imm` to `Stdlib_stable`

    Add stdlib bindings for the new predef types for addresses. Imitates most of the ox API for these types.

    Benjamin Peters (@bn-peters)
  5. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Add `Unmentionable` visibility for transitive deps of `-functorize` bundles

    A -functorize bundle has to include the transitive dependencies of its inputs, since other bundled modules alias into them, but users should not be able to name them. Until now they were bound under a DEP__ prefix as a deterrent.

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

    Add `module-type-impls` query

    This PR adds the Merlin query module-type-impls that returns the modules that are required to implement the specified module type. This analysis will unlock broader functionality within Merlin, specifically for the Interface Strengthener, which annotates an .mli file with modes, modalities, and kinds.

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

    Add atomic ext_ptr and remove user atomics caml_domain_alone optimization

    This PR implements the %unsafe_atomic_*_ext_ptr family of primitives, intended

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

    Add borrowability and borrowedness mode axes

    Groundwork for the exclusive/separate modes (internal ticket 1017). This adds the two new axes the design calls for, fully plumbed through the mode solver, jkinds and printing, but with no semantics of their own yet: nothing infers unborrowable or requires owned except explicit annotations, and the axes are not yet coupled to linearity/uniqueness.

    Matthew Dempsky (@mdempsky)
  9. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Add interface strengthening analysis

    Stacked on #6811.

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

    Add modality printing relative to explicit defaults

    Adds Typemode.least_modalities_with_default and Out_type.tree_of_modalities_with_default to Merlin's vendored typing sources so callers can print the modalities of an item relative to a caller-supplied default modality rather than the mutability-implied one. Used by the strength analysis (#6812).

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

    Add module type information to compiler artifacts (cms/merlin-index)

    This PR adds module facts to build artifacts. The module facts help us answer module flow queries such as "which modules must implement a given module type".

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

    Add multi-implementation interface strengthening query

    Stacked on #6812.

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

    Add ocaml-compiler-libs.frontend

    Add ocaml-compiler-libs.frontend

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

    Add regression test: a live region silently breaks [@tail_mod_cons]

    Follow-up to the snippet in #6972, which turned out to be an instance of something more general.

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

    Add tests for function parameter/return unboxing

    This PR adds some tests following #1271 .

    Guillaume Bury (@Gbury)
  16. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Add the (Merlin) Typing-Recovery mechanism directly to the type checker

    This PR implements the Typing Recovery mechanism, recently merged into ocaml/ocaml (and superseed #6187), in an appropriate manner. To provide some context, the goal of integrating the recovery mechanism is to reduce the differences between the type checker provided by Merlin and the compiler’s type checker, thereby facilitating the process of upstreaming …

    Xavier Van de Woestyne (@xvw)
  17. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Add type predefs for addr and addr_imm

    Add type predefs for addr and addr_imm. Neither of them have mode crossing for now; We should take the time to figure out what axes they actually cross.

    Benjamin Peters (@bn-peters)
  18. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Add window sizing helpers and tables

    Window sizing helpers and table modules.

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

    After compaction, tell malloc to release memory

    We use malloc for all blocks > 1 KiB, and for medium sized blocks (between 1 KiB and some system-dependent threshold) that memory will remain on the C heap indefinitely after the GC frees it. Compaction should probably attempt to return that memory to the OS. This does so both for TCMalloc (detected via a weak symbol) and for glibc malloc (using malloc_trim …

    Nick Barnes (@NickBarnes)
  20. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Allow bodies of `if`s without `else`s to have type `unit#`

    Done via type-directed disambiguation. type_if_no_else_branch is similar to type_statement so I probably will refactor the shared bits. Since Texp_ifthenelse doesn't have a parameter for a layout, the disambiguated unit# case is instead translated with ifnot = Some { exp_desc = Texp_unboxed_unit; .. } instead of ifnot = None.

    James Rayman (@jra4)