OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
3 active · 2 unchanged
oxcaml/merlin
PermalinkFixes
- Merlin (cmi cache): backports upstream cache-invalidation logic from ocaml/merlin#2062, changing how stale
.cmifiles are detected. Merged 2026-05-01. - Merlin (typeopt): replaces
Misc.fatal_errorcalls with proper error raising intypeopt.mlandtypeopt.mli, reducing the diff against the upstream compiler. Merged 2026-05-01.
Compatibility and Releases
- Merlin (Nix flake): updates the build flake from OCaml 5.2 to 5.4; pins NixPkgs to a pre-
menhirGLRrevision to avoid build breakage. Merged 2026-05-04.
oxcaml/opam-repository
PermalinkFeatures
- oxcaml/opam-repository PR #41 (open): adjusts the
opam-corepatch to supportoxcaml-compiler5.2.0minus31 and removes the corresponding upper-bound conflict. By vouillon. Link - oxcaml/opam-repository PR #42 (open): adds
opam-format2.5.1+ox, a transitive dependency ofodocviaopam-core. By art-w. Link - oxcaml/opam-repository PR #40 (open): adds
oxcaml.action-requiredmirroring upstreamocaml/opam-repository#29809, withavailable: falsebecause the overlay repo makesoxcaml.latestandoxcaml.archivedavailable. By dra27-js. Link
Fixes
- oxcaml/opam-repository issue #28 (closed):
oxcaml_effectinstallation failed with a checksum error after the source repository was renamed tohandled_effect. Newer package versions (v0.18~preview.130.91+190, v0.18~preview.130.83+317) carry corrected checksums. Link - oxcaml/opam-repository issue #15 (closed):
opam update oxfailed because the externalpatchbinary exited with code 1. Closed as resolved by opam 2.4, which no longer invokes an external patch implementation. Link
Compatibility and Releases
- oxcaml/opam-repository issue #35 (open): a contributor to the raven project asks how to publish
nx-oxcaml, which depends onoxcaml. A maintainer notes that commit231c88callows listing"oxcaml"in thedependsfield, enabling such packages. Link
oxcaml/oxcaml
PermalinkFeatures
OxCaml metaprogramming unloading: proposes GC-based unloading of compilation units via Code_block heap objects and back-pointers in .text. A unit is munmaped when no Code_block or data block is marked at end of major cycle. #5960 (open)
OxCaml preemptible fibers: adds a tickc callback to fibers, invoked in reverse order at each runtime tick to trigger preemption. Replaces the interval-timer test mechanism and removes caml_domain_preempt_self. #5913 (open)
OxCaml runtime event PMCs: adds hardware performance-counter sampling to runtime events on Linux x86-64. Callbacks receive a perf_sample array of {config; value} pairs; enabled via OCAML_RUNTIME_EVENTS_PERF_COUNTERS. #5937 (open)
OxCaml mode polymorphism: integrates level-relation operations (generalize, instantiate, copy) into type inference behind -extension mode_polymorphism_alpha. Mode variables are functional and carry level annotations. #5483 (open)
OxCaml layout-polymorphic functions: extends the layout-polymorphism machinery to function types, enabling values whose memory layout is determined at the call site. #5870 (open)
OxCaml first-class modules in quotes: enables module packing and unpacking inside metaprogramming quotations, inserting type annotations required for non-HM inspection. #5885 (open)
OxCaml register-allocation affinity: uses phi-move information from the split pass to group temporaries into equivalence classes, deleting 0.5–2.2% of moves across allocators. #5844 (merged)
OxCaml metaprogramming expect-tests: makes Eval.eval work inside expect-test files, enabling runtime metaprogramming checks alongside static fexpr assertions. #5933 (open)