Thicket thicket
ocaml
REPOS 5

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

W32.2025 · 4–10 AugOxCaml

Features

  • Merlin (OxCaml): adds @@@merlin.locate floating-attribute support, allowing PPX preprocessors to override merlin locate output per source position. Merged 2025-08-07. (#171)
  • OxCaml LLVM backend: proposal adds Raise, Pushtrap, and Poptrap to the Cfg for exception handling via LLVM intrinsics. Opened 2025-08-08; superseded by #4722. (#4476)
  • OxCaml Merlin shapes: extends shape representation with UIDs and field/constructor projection for Merlin lookups; also changes -gno-upstream-dwarf to use debugging shapes. Merged 2025-09-09. (#4440)

Releases

  • Merlin (OxCaml): merges OxCaml 5.2.0minus-16, incorporating upstream typing changes into the Merlin codebase. Merged 2025-08-06. (#172)

Fixes

  • OxCaml switch codegen: removes unnecessary string and symbol data emitted for unreachable switch cases. Fixed by PR #4460. (#4452)
  • OxCaml affine optimization: the affine switch optimization in Cmm_helpers does not trigger when flambda2 selects a table lookup. Opened 2025-08-08. (#4474)

Compatibility

  • OxCaml / utop: utop.2.16.0 fails to compile under ocaml-variants.5.2.0+ox due to removed Ident.persistent. Workaround: install utop.2.15.0+ox. (#4437)
  • OxCaml LSP: display_merlin_diagnostics defaults to false in the +ox fork of ocaml-lsp-server, hiding diagnostics and disabling formatting. Opened 2025-08-06. (#4447)