Thicket thicket
ocaml
REPOS 5

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

August 2025

Monthly story not yet available.

W35.2025 · 25–31 AugOxCaml

Features

  • Merlin (oxcaml): Open PR adds locate-type-multi command returning a tree of identifier locations for complex types, enabling richer VSCode "Go to Type Definition". #148
  • OxCaml regalloc attribute: Open PR adds [@regalloc] attribute for per-function register allocator selection (ls, irc, gi, cfg, default), complementing the global -regalloc flag. #4583
  • OxCaml metaprogramming directive: Open PR adds #syntax metaprogramming on|off directive and -metaprogramming / -no-metaprogramming flags to toggle lexer tokens for runtime metaprogramming, disabled by default. #4608
  • OxCaml phantom variable DWARF: Open PR propagates optimized-away variables from Cmm through CFG and Linear to DWARF emission, enabling debuggers to display reconstructed values. #4595
  • OxCaml shrink-wrapping: Open experimental pass duplicates function prologues across CFG branches to free hot paths from prologue/epilogue overhead. #4579
  • Oxcaml opam-repository: Open PR adds patched odoc and eio packages for the Oxcaml documentation driver, plus an ocaml-lsp-server patch for odoc-parser compatibility. #8

Fixes

  • Merlin (oxcaml): Merged fix suppresses spurious Undefined probe name errors caused by probe/typer-cache interaction. #181
  • OxCaml flambda2 affine switches: Merged fix recognises affine switch patterns so the middle end no longer forces a table lookup, unblocking later affine optimisation. #4571
  • OxCaml mode error hints: Merged change replaces ad-hoc error strings in the mode type-checker with a structured, printable hint system. #4471

Compatibility

  • OxCaml implicit kinds: Open PR introduces [@@@implicit_kind: ('var : jkind)] syntax for default jkinds in signatures, controlled by -extension implicit-types. #4285