Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Include the Merlin libraries in the install

    Installs merlin-lib under lib/ocaml/merlin, published via lib/ocaml/META.merlin-lib. The vendored csexp is bundled as subpackage merlin-lib.merlin_csexp (renamed so the module cannot clash with a real csexp in downstream builds), and merlin_ocaml_index is made public.

    Liam Stevenson (@liam923)
  2. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Instance type constructor arguments in typeopt

    Yet another attempt at doing this without wrecking performance. This time, generalize the existing approach Typeopt takes for unboxed products to other types. Also, force optional arguments to be scannable in Typetexp since it's no longer caught by a later check.

    dkalinichenko-js
  3. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Keep distinct frametable debuginfo records that differ only in scopes

    If several functions share a location (file, line, column), backtraces will only show the function name of the first such function. This PR fixes this.

    Nick Barnes (@NickBarnes)
  4. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    LTO Prototype: Fix a test that breaks on some CI workflows

    Some of the CI jobs set dump-dir=$GITHUB_WORKSPACE/_profile_csv, and a test was relying on dumps going to the current directory. This change makes it read the stderr instead.

    Miriam Vellacott (@mirivella)
  5. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    LTO prototype

    [DRAFT] WIP prototype not ready for review yet

    Simon Spies (@spiessimon)
  6. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Lazy loading of hidden manifests in load path

    Hidden manifests (-H-manifest) are no longer read eagerly in Load_path.init. They are enqueued at init, and read into the path cache one manifest at a time only when a cache lookup misses, stopping as soon as the looked-up file is found. Visible manifests are still loaded eagerly since their entries are needed for get_visible.

    Zesen Qian (@riaqn)
  7. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Link time optimisation

    Not ready for merge.

    Miriam Vellacott (@mirivella)
  8. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Load .reaped.cmx files during -reaper-rebuild

    When we read the .cmx files of our dependencies during -reaper-rebuild, we want to get the .reaped.cmx version, not the plain .cmx version. Not being able to find this file is a hard error because we might have already decided to inline functions from that unit.

    Miriam Vellacott (@mirivella)
  9. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Machtype checking

    Adds another pass during cmm_invariants that traverses Cmm expressions and makes sure the machtypes of inputs and outputs of each operation are consistent with eachother. For now, this machtype-checking pass is toggled with a separate flag (-dcmm-check-machtypes, default enabled), but it can be folded into -dcmm-invariants when we consider the machtype check…

    James Rayman (@jra4)
  10. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Make DWARF-5 output selectable and functional via -gdwarf-version

    Fifth in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6922). The DWARF byte audit showed .debug_loc as the largest remaining section (15.2 MB in ocamlopt's dSYM), 81% of it being DWARF-4's 16-byte absolute address pairs — exactly what DWARF-5's indexed location lists were designed to fix.

    Mark Shinwell (@mshinwell)
  11. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Make externality a "secret" mode axis

    Instead of hardcoding externality as a special-cased non-modal axis, make it a regular modal axis. Hide it and prevent users from writing annotations for externality modes and modalities, allowing them in mode-crossing only.

    dkalinichenko-js
  12. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Make it possible to run the reaper with -Oclassic

    This surfaced a bug in the reaper with Oclassic that seems difficult to trigger without Oclassic, so it is fixed in this PR (with a testcase).

    Nathanaëlle Courant (@Ekdohibs)
  13. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Merge main (941c815) into LTO branch

    Merges the latest from main into the LTO branch.

    Miriam Vellacott (@mirivella)
  14. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Merge switches to same destination with many arguments

    This PR extends the existing mechanism for simplifying switches where all the arms have the same destination and a single argument to handle switches where all the arms have the same destination without restriction on the number of arguments.

    Basile Clément (@bclement-ocp)
  15. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Merge the version of main before calling convention changes into the LTO branch

    This merges all of main up to (excluding) the commit where we move calling conventions changes to the LTO branch. The conflict resolutions are relatively straightforward.

    Miriam Vellacott (@mirivella)
  16. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Middle modality mode crossing

    With-bound relevance used to be tracked as an axis set, which loses information for modalities that are middle elements on their axis. This changes with-bound relevance to use the axis_lattice mask so those middle bounds are preserved through normalization, subkind checks, and ikind conversion.

    julesjacobs
  17. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Mixed linking with mode polymorphism

    Units compiled without -extension mode_polymorphism_alpha can consume cmis compiled with it. Mode-polymorphic signatures carry generic-level mode variables on their arrows; each use instantiates them. instantiate previously copied them to current_level, violating the invariant that, without the extension, typedtree alloc/return modes are constants or level-0…

    ainageorges
  18. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Mode Polymorphism Parsing

    This PR adds a parser for mode polymorphism. In function types, argument and result mode annotations may now be mode variables ('m) or bounds ([< ... > ...]):

    ainageorges
  19. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Mode Variable Subsumption

    This feature implements subsumption for polymorphic mode variables.

    ainageorges
  20. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Move `Btype.hash_variant` to `Obj`

    Backports the first commit of ocaml/ocaml#14939. The second commit from that PR can't be adopted until the system compiler is OCaml 5.6. Backporting this follows on from #6530, and removes the need for an OxCaml shim for the function's location.

    David Allsopp (@dra27-js)