Thicket thicket
ocaml
REPOS 5

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

W33.2025 · 11–17 Augoxcaml/oxcaml

Features

Oxcaml LLVM backend: A chain of four PRs opened by @usuyus adds tail calls, local/heap allocation, integer and float operations, and switch statements to the experimental LLVM backend. The chain was subsequently refactored into a single replacement PR. (#4507, #4508, #4509, #4510)

Oxcaml DWARF debugging: PR #4478 adds LLDB support for int8 and int16 types including unboxed variants. PR #4492 extends shape-based DWARF emission to handle recursive and mutually recursive type declarations.

Oxcaml JSIR backend: PR #4525 adds multi-file compilation by registering symbols in a global table, enabling cross-unit references. The standard library compiles and links under this mechanism.

Oxcaml mode system: PR #4481 moves Mode.Modality.Value contents into Mode.Modality, simplifying the representation since modalities always act on Mode.Value.t.

Fixes

Oxcaml -rectypes: Issue #3133 reports an assertion failure in type printing when -rectypes is enabled and a type error is emitted. The issue was closed on 2025-08-15.

Oxcaml CMM: Issue #3888 reports that unboxed int64-to-int conversion emits redundant sign-extension shifts in the generated code. The issue was closed on 2025-08-14.

Compatibility and Releases

Oxcaml arm64 codegen: Issue #4511 reports assembler errors ("immediate offset out of range") when compiling large generated tests on arm64 macOS and NixOS. The issue remains open.

Oxcaml baremetal: Issue #4504 asks whether plans exist for a baremetal booting framework to explore micro-kernel architectures. The issue is open with no response yet.