Thicket thicket
ocaml
REPOS 5

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

W47.2025 · 17–23 NovOxCaml

Features

  • OxCaml unboxed modules: Merged support for unboxed elements at top-level module fields, lifting the value-only restriction. New module_representation types track mixed modules through typing and compilation. #4020

  • OxCaml scannable axes: Merged the pointerness axis as a scannable axis in layouts, with non_pointer < maybe_pointer ordering. Open follow-up extends this to separability and renames the base sort to Scannable. #5006 #5031

  • OxCaml runtime metaprogramming: Merged the runtime_metaprogramming extension, enabled by default. Compiling quotes, splices, and quotation evaluation is gated behind this extension. #5012

  • OxCaml 128-bit intrinsics: Open PR adding add_int128, sub_int128, mul_int64, and unsigned_mul_int64 externals returning unboxed (int64# * int64#) pairs. Compiles to add adc/sub sbb/imul on x86; LLVM backend not yet implemented. #5025

  • OxCaml AVX2 gather: Open PR adding AVX2 gather intrinsics with the reg + vec[..] * scale + displ addressing mode. Gathers are not address-sanitized; a library-level scalar fallback is recommended. #5040

  • OxCaml arm64 typed DSL: Open PR introducing a typed DSL for the arm64 backend to constrain types for the binary emitter. Makes architectural constraints explicit in the type system. #5037

  • Merlin type hovers: Draft PR proposes hover information for jkinds nodes; blocked on upstream oxcaml/oxcaml#5041. Opened 2025-11-21 by liam923. #200

Fixes

  • Merlin outline: Outline now includes items declared inside include statements, restoring imenu navigation in Emacs for ppx_template users. Merged 2025-11-19 by liam923. #199

  • OxCaml Tof_jkind: Merged use of Tof_jkind for unboxed existentials and Tpoly, replacing conservative Jkind.round_up calls. Fixes a stack overflow when type-checking type 'a t = { f : 'b. 'b t }. #4995

Compatibility and Releases

  • OxCaml upstream sync: Merged downstream of #12943 (bitfield marking) and #13866 (occur_rec changes). Introduces a ~0.3–0.4% non-optimized build slowdown, accepted because the 5.4 merge will include the same changes. #5015