Thicket thicket
ocaml
REPOS 5

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

W05.2026 · 26 Jan – 1 Feb

OxCaml repository summaries

3 active · 2 unchanged

Back to weekly digest

oxcaml/merlin

Permalink

Features

  • Merlin kind-enclosing: Merged new kind-enclosing query, the jkind analogue of type-enclosing for hover. Supports -index to print a single kind. (#208)
  • Merlin mode-enclosing: Open PR adds mode-enclosing, a mode analogue of type-enclosing. Currently limited to variable bindings and usages; targets a branch for a new compiler version and is not yet releasable. (#210)

Compatibility and Releases

  • Merlin OxCaml sync: Merged OxCaml changes from 5.2.0minus-26 through 5.2.0minus-29 into Merlin, updating the compiler backend. (#212)

Fixes

  • Merlin record field completion: Merged fix importing upstream changes to correct record field completion behaviour. (#209)
  • Merlin locate-types: Merged cherry-pick of two upstream PRs improving locate-types, with an oxcaml-specific adjustment for Tpoly-wrapped parameter types. (#207)
  • Merlin signature help: Open PR proposes restricting signature-help responses to function parameters only, excluding the function name. (#206)

oxcaml/opam-repository

Permalink

Fixes

  • OxCaml opam-repository: PR #33 (merged) patches opam-core.2.5.0+ox and opam-format to work around a missing implicit cast from _ @ local -> _ to _ @ global -> _ in OxCaml. The author suggests OxCaml could handle this transparently upstream.

  • OxCaml opam-repository: PR #34 (merged) adds odoc and sherlodoc to the CI package-installation test list. odoc currently fails to compile under OxCaml (tracked in oxcaml/odoc#22).

oxcaml/oxcaml

Permalink

Features

OxCaml arm64 binary emitter: Merged a native machine-code emitter for arm64 with a typed DSL, making the ocaml-jit library architecture-independent. Enables JIT compilation on arm64 without an external assembler. #5177

OxCaml preemption (experimental): Open PR implementing runtime, effects-based preemption: a domain can be preempted at the next GC poll point, performing a Preemption effect that may go unhandled. A companion PR moves the per-domain tick thread into the runtime (configurable via OCAMLRUNPARAM T), paving the way for fiber preemption. #4881, #5349

OxCaml borrowing: Open PR adds a borrow_ operator for temporary aliased access to unique values without consuming uniqueness, following the DRFCaml type system. Borrowed values are local and aliased; the original regains uniqueness after the borrow scope. #5215

OxCaml unboxed keywords and #() literals: Merged #() literals and the abstract unit# type (kind void mod everything). Open PRs add bool# with #false/#true and a parallel set of #-prefixed keywords (#if, #assert, #while, etc.) that typecheck against unboxed types. #5156, #5151, #5166, #5167

OxCaml layout-polymorphic types: Open PR introduces the repr_ type operator, Ptyp_repr/Ttyp_repr AST nodes, and a Trepr type-expression constructor for kind-polymorphic layout types. Types are currently uninhabited; instantiation is deferred. #5068

OxCaml vec256 on arm: Open PR translates 256-bit vectors to pairs of 128-bit vectors on arm, splitting loads/stores into two 128-bit operations with preserved bounds and alignment checks. Enables 256-bit SIMD tests on arm without AVX intrinsics. #5291

Fixes

OxCaml Gc.stat: Merged fix reports heap_chunks for runtime 5 and includes free pools in heap_words and free_words, matching runtime 4 semantics more closely. #5226

Compatibility and Releases

OxCaml dissector 64-bit .eh_frame: Merged support for 64-bit .eh_frame sections required by large executables using the dissector. Adds --enable-assembler-suitable-for-dissector configure option (uses llvm-mc) and a -dissector-assume-lld-without-64-bit-eh-frames compiler flag as a workaround for missing lld/glibc support. #5303

2 repositories · no changes