Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W36.2025 · 1–7 Sep

OxCaml repository summaries

3 active · 2 unchanged

Back to weekly digest

oxcaml/merlin

Permalink

Features

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

Permalink

Features

  • Oxcaml / js_of_ocaml toplevel: Merged 2025-09-05, enabling the js_of_ocaml toplevel on the Oxcaml compiler via patches contributed by @patricoferris. Patches unified across all js_of_ocaml packages. (#7)
  • Oxcaml / odoc and eio: Merged 2025-09-05, adding patched odoc (master commit with accumulated patches) and eio to support odoc_driver. Also patches ocaml-lsp-server for the latest odoc-parser. (#8)

Fixes

  • Oxcaml / mdx patch: Merged 2025-09-05, updating the mdx patch for compatibility with a newer Oxcaml build. (#9)
  • Oxcaml / js_of_ocaml install: Opened 2025-09-06 by @matthewelse to correct a bad patch that caused js_of_ocaml installation to fail. Not merged within the reporting interval. (#11)

Compatibility and Releases

  • Oxcaml / utop: Merged 2025-09-05, upgrading the utop package in the Oxcaml opam repository. (#10)

oxcaml/oxcaml

Permalink

Features

  • OxCaml DWARF shapes: merges type shapes into the compiler's shape mechanism, enabling functor-aware DWARF emission via .cms files. 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_callback where 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_modify calls when writing through a block index, reducing GC write-barrier overhead for unboxed types. (#4644, merged)

Compatibility and Releases

  • OxCaml DWARF: adds -dwarf-pedantic flag; DWARF emission errors in dwarf_type.ml are now non-fatal by default, allowing compilation to proceed past unreachable cases. (#4555, merged)
2 repositories · no changes