Thicket thicket
ocaml
REPOS 5

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

W37.2025 · 8–14 Sep

OxCaml repository summaries

3 active · 2 unchanged

Back to weekly digest

oxcaml/merlin

Permalink

Features

  • Merlin (oxcaml), PR #168: Adds LSP syntax hovers documenting oxcaml-specific constructs—modes, modalities, linearity, inlining attributes, and regions. Still open; full mode/modality hover support awaits typedtree location data (internal ticket 4845). Updated 2025-09-11 with revised English descriptions after review.

oxcaml/opam-repository

Permalink

Fixes

oxcaml opam-repository: Merged fix for js_of_ocaml installation failure caused by a bad patch. The updated patch allows js_of_ocaml-compiler.6.0.1+ox to build successfully. (#11, matthewelse)

oxcaml/oxcaml

Permalink

Features

OxCaml small integers: Merged literals for int8, int16, int8#, int16#, int#, untagged chars (#'a'), and small array indices (.S(i), .s(i)). Includes C runtime support, selector intrinsics, and DWARF debugging. (#4635, #4658, #4691, #4677, #4672, #4478)

OxCaml JSIR backend: The JavaScript intermediate representation branch merged to main, adding dynamic integer-width dispatch, effects translation, multi-arity returns, and unboxed tuple handling for extern calls. (#4638, #4681, #4656, #4663)

OxCaml Flambda 2 n-way join: Rewritten to follow the underlying Datalog seminaive algorithm more closely, using leapfrog join for sub-linear performance when joined levels share few variables. Merged 2025-09-11. (#4369)

OxCaml shrink-wrapping: Merged basic prologue duplication to clear hot paths of prologue/epilogue overhead. A dataflow-based alternative (#4710) benchmarks ~2× slower and is unlikely to merge. (#4579)

OxCaml runtime quotations: The #syntax metaprogramming on directive and -metaprogramming flag enable <[ ]> and $ splice tokens in the lexer. A full typing and stdlib implementation is in review. (#4608, #4395)

OxCaml TLS: Thread-local storage merged with the same interface as DLS, using per-thread storage via caml_thread_{get,set}_state. TLS permits safe mutable state without mode crossing. (#4671)

OxCaml ikind prototype: Open PR behind -extension ikinds introducing new subsumption and mode-crossing algorithms for polymorphic variants and GADTs. Not production-ready; under active review. (#4675)

OxCaml Flambda 2 research plan: A batch of issues opened 2025-09-11 outlines next-phase work: reaper value-slot analysis, phantom lets through DWARF, match-in-match heuristics, function specialisation, and a potential Cmm replacement. (#4697, #4698, #4701, #4700)

Fixes

OxCaml Flambda 2 compilation speed: free_names_transitive no longer recomputes free names for already-processed variables, reducing CFML parser compilation from >10 min to ~74 s. Merged 2025-09-10. (#4684, #4674)

OxCaml register allocator: Workaround inserts a block on back edges to prevent reload-before-spill ordering in the split subpass. Merged 2025-09-10. (#4685)

2 repositories · no changes