OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
3 active · 2 unchanged
oxcaml/merlin
PermalinkFeatures
Merlin (oxcaml): Merged option to suppress type annotations in the outline query, letting LSP clients consume Merlin's outline directly rather than maintaining an ad-hoc implementation. #183
Merlin (oxcaml): Open extension of syntax hover to document oxcaml-specific constructs (modes, modalities); full support is blocked on typedtree location info tracked in internal ticket 4845. PR #168
Fixes
Merlin (oxcaml): Open fix for an exponential-time path in the short-paths algorithm that produced 40-minute delays in large codebases, rendering Merlin unusable. Reviewer proposes a narrower is_defined check as an alternative. #182
oxcaml/opam-repository
PermalinkFeatures
- Oxcaml / js_of_ocaml toplevel: Merged 2025-09-05, enabling the
js_of_ocamltoplevel on the Oxcaml compiler via patches contributed by @patricoferris. Patches unified across alljs_of_ocamlpackages. (#7) - Oxcaml / odoc and eio: Merged 2025-09-05, adding patched
odoc(master commit with accumulated patches) andeioto supportodoc_driver. Also patchesocaml-lsp-serverfor the latestodoc-parser. (#8)
Fixes
Compatibility and Releases
- Oxcaml / utop: Merged 2025-09-05, upgrading the
utoppackage in the Oxcaml opam repository. (#10)
oxcaml/oxcaml
PermalinkFeatures
- OxCaml DWARF shapes: merges type shapes into the compiler's shape mechanism, enabling functor-aware DWARF emission via
.cmsfiles. Guarded behind-shape-format debugging-shapes. (#4398, merged) - OxCaml shrink-wrapping: proposes moving epilogues earlier via dataflow analysis to find the earliest valid placement on each path. May increase code size through epilogue duplication. (#4655, open)
- OxCaml phantom variables: proposes tracking optimized-away variables from Cmm through CFG and Linear to emit DWARF location descriptions. Enables debuggers to reconstruct values of eliminated temporaries. (#4595, open)
- OxCaml
[@regalloc]attributes: proposes per-function register allocator selection via[@regalloc],[@regalloc_param], and[@cold]annotations. Refactors handling from earlier closed PRs #4583, #4631, #4632. (#4633, open)
Fixes
- OxCaml Flambda2 classic mode: fixes out-of-order symbol definitions where non-closure symbols bypassed the SCC ordering algorithm. The ill-formed terms previously broke JSIR translation. (#4629, merged; fixes #4628)
- OxCaml runtime: fixes a race in
caml_callbackwhere a promoted continuation could be traversed by GC compaction with a stale return address, causing a segfault. (#4609, merged) - OxCaml block indices: eliminates unnecessary
caml_modifycalls when writing through a block index, reducing GC write-barrier overhead for unboxed types. (#4644, merged)
Compatibility and Releases
- OxCaml DWARF: adds
-dwarf-pedanticflag; DWARF emission errors indwarf_type.mlare now non-fatal by default, allowing compilation to proceed past unreachable cases. (#4555, merged)