Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW35.2026 · 24–30 Augoxcaml/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
  2. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Mode Variable Subsumption

    This feature implements subsumption for polymorphic mode variables.

    ainageorges
  3. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Mode variable levels

    Support levels in the mode solver.

    ainageorges
  4. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    More complete type inference with `eval` and concrete types

    Motivation

    Jakub Bachurski (@jbachurski)
  5. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Move Caml-exit GC stats reporting code

    Move GC-stats-specific code to the gc_stats module, and lift the call to it from sys.c into a separate function to give us a natural place to put other stats-reporting code (this has come up in a couple of development branches lately).

    Nick Barnes (@NickBarnes)
  6. Pull requestW35.2026 · 24–30 Augoxcaml/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)
  7. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Move `any`-fields to stable

    Move any-kinded fields and arguments to stable (undoing #6173).

    Ryan Tjoa (@rtjoa)
  8. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    New Flambda -> Cmm phantom let translation scheme

    Alternative to #6519's handling of phantom lets in To_cmm, for comparison with the reference-erasure scheme there. Part of the dwarf202607 series; stacked on #6822 (same base branch as #6519).

    Mark Shinwell (@mshinwell)
  9. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Non-scanned layouts cross externality inherently rather than syntactically

    We currently have a syntactic implication that non-value base layouts such as bits32, etc., imply mod external_ (#5162).

    Ryan Tjoa (@rtjoa)
  10. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Occurs check for sort variables

    Currently, we do not perform an occurs check when unifying sort variables - possibly under the assumption that any problematic cases would be caught by the occurs check for type variables.

    Ryan Tjoa (@rtjoa)
  11. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    One template instantiation per CU

    Deduplicate template instantiations so there's only one per compilation unit.

    Jack Rickard (@Skepfyr)
  12. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Pattern matching: support jump tables for unboxed values

    (As per title; not reviewed yet.)

    Xavier Clerc (@xclerc)
  13. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Preserve phantom lets through instruction selection, CFG and Linear

    This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.

    Mark Shinwell (@mshinwell)
  14. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Produce structured mode diagnostics

    Summary

    Gavin Gray (@gavinleroy)
  15. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Provide a way to run the tests with the boot compiler

    This makes it possible to run the testsuite with the boot compiler, instead of having to wait for the full compiler to be built. As some tests depend on libraries like ocamlcommon which take a long time to build, tests that require anything more than the stdlib are skipped (see the oxcaml/testsuite/boot-test-list file).

    Nathanaëlle Courant (@Ekdohibs)
  16. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Read manifest files with a single preallocated buffer

    The compiler can read thousands of manifest files per invocation (-I-manifest / -H-manifest). The reader used In_channel.input_line, paying two locked channel primitives and 1–2 string allocations per line.

    Zesen Qian (@riaqn)
  17. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Record manifest reading in a profiling region

    Manifest reading (-I-manifest / -H-manifest) happens in Load_path.init, before any recorded compiler pass, so its cost was invisible in -dtimings — folded into the toplevel other row. This wraps init_manifests in a read_manifests profiling region so it shows up as its own row, e.g.:

    Zesen Qian (@riaqn)
  18. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Record synchronized Merlin import

    Summary

    Gavin Gray (@gavinleroy)
  19. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Reduce CAML_GC_MESSAGE overhead, and many-domain CPU overhead

    A profile indicated a lot of CPU time being spent in caml_gc_message in some parallel workloads with many idle domains. It's unclear how much throughput was affected (versus burning CPU on otherwise-nearly-idle cores), but it's still concerning. This PR addresses two factors:

    Nick Barnes (@NickBarnes)
  20. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Refactor `Target_system`

    This PR refactors Target_system after cleaning up some dead code and duplication. The main changes are as follows.

    shym