Thicket thicket
ocaml
REPOS 5

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

W33.2025 · 11–17 AugOxCaml

Features

Merlin (oxcaml): Merged support for @@@merlin.document and @@@merlin.locate floating attributes, letting PPX preprocessors override Merlin's document and locate outputs at specific source locations. (#177, by @maxmwang)

Oxcaml LLVM backend: Open PRs add tail calls, local/heap allocation, integer and float operations, and switch statements to the experimental backend. The four-PR chain was refactored into a single replacement PR. (#4507–#4510, by @usuyus)

Oxcaml DWARF debugging: Adds LLDB support for int8 and int16 types including unboxed variants. Extends shape-based DWARF emission to recursive and mutually recursive type declarations. (#4478, #4492)

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

Fixes

Oxcaml -rectypes: Assertion failure in type printing when -rectypes is enabled and a type error is emitted. Closed 2025-08-15. (#3133)

Oxcaml CMM: Unboxed int64-to-int conversion emitted redundant sign-extension shifts in generated code. Closed 2025-08-14. (#3888)

Compatibility

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