Thicket thicket
ocaml
REPOS 5

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

W04.2026 · 19–25 JanOxCaml

Features

  • Merlin (oxcaml): Merged locate-type-multi command (#148). Returns a tree of all identifier locations within a compound type, enabling VSCode "Go to Type Definition" on types such as a -> (b * c).

  • OxCaml ARM SIMD: PR #5291 translates 256-bit vectors to pairs of 128-bit vectors on arm64. Loads and stores split into two 128-bit operations, preserving bounds checking.

  • OxCaml borrowing operator: Ongoing PR #5215 adds a borrow_ operator for temporary aliased access to unique values without consuming uniqueness. The original regains uniqueness after the borrow scope.

  • OxCaml binary emitter verification: Ongoing PR #5198 adds -verify-binary-emitter, which re-reads the object file and compares text and data sections against emitter output. Currently arm64-only.

  • OxCaml dissector eh_frame: PR #5303 adds --enable-assembler-suitable-for-dissector to use llvm-mc for 64-bit .eh_frame sections in large executables. A companion flag works around missing lld/glibc support.

  • OxCaml name mangling: Ongoing PR #5099 introduces a reversible mangling scheme that reconstructs full module paths from mangled names. De-mangling implementations exist for LLVM, GDB, and addr2line.

  • OxCaml layout-polymorphic types: Ongoing PR #5068 introduces repr_ syntax and Ptyp_repr/Ttyp_repr AST nodes. Such types are currently uninhabited; instantiation is deferred.

Fixes

  • Merlin (oxcaml): Opened cherry-pick of upstream locate-types improvements (#207). Adds an oxcaml-specific adjustment for Tpoly wrapping of function parameter types. Still open.

  • oxcaml opam-repository: PR #23 updates ocamlbuild, async_ssl, alcotest, sedlex, topkg, and uutf to resolve constraint errors when compiling upstream packages. Still open.

Compatibility

  • oxcaml opam-repository: PR #32 proposes making all oxcaml packages coinstallable via an opam-repomin plugin generating a combined standalone repository. Fixes missing zarith.1.14+ox deps and removes obuild. Still open.

  • oxcaml opam-repository: PR #31 proposes pointing the jsoo package at the latest oxcaml branch of js_of_ocaml rather than individual patches. Fixes parameterised-lib issues for incremental compilation with jsoo in dune. Still open.

  • Merlin (oxcaml): Opened a kind-enclosing query (#208), the jkind analogue of type-enclosing for kind hovers. Still open.