OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
3 active · 2 unchanged
oxcaml/merlin
PermalinkFixes
- Merlin (oxcaml): Merged fix suppressing spurious
Undefined probe nameerrors caused by probe/typer-cache interaction. #181
Features
- Merlin (oxcaml): Open PR adds
locate-type-multicommand returning a tree of identifier locations for complex types, enabling richer VSCode "Go to Type Definition" for the oxcaml toolchain. #148 - Merlin (oxcaml): Closed without merge; proposed moving query types to
query_protocol_kernelfor JSOO-compatible VSCode extension use. #149
oxcaml/opam-repository
PermalinkFeatures
- Oxcaml opam-repository: PR #8 (opened 2025-08-26) adds patched odoc and eio packages to support the Oxcaml documentation driver. Also patches
ocaml-lsp-serverfor odoc-parser compatibility, extending the experimental compiler's toolchain.
Compatibility and Releases
- Oxcaml opam-repository: PR #9 (opened 2025-08-27) updates the mdx patch for newer Oxcaml. Both PRs were still open at the end of the reporting interval.
oxcaml/oxcaml
PermalinkFeatures
-
OxCaml shrink-wrapping (prologue duplication): new experimental pass that duplicates function prologues across CFG branches to free hot paths from prologue/epilogue overhead. PR #4579 opened 2025-08-26; companion PR #4616 (stop shrink-wrapping when all paths need a prologue) opened 2025-08-29. Validator tests merged in #4585.
-
OxCaml
[@regalloc]attribute: per-function register allocator selection (ls,irc,gi,cfg,default) as an alternative to the global-regallocflag. PR #4583 opened 2025-08-26; a follow-up refactoring PR #4633 was opened after the interval. -
OxCaml
#syntaxmetaprogramming directive: new#syntax metaprogramming on|offdirective and-metaprogramming/-no-metaprogrammingflags to toggle lexer tokens ($,<[,]>) for runtime metaprogramming, disabled by default. PR #4608 opened 2025-08-28. -
OxCaml phantom variable DWARF: propagates optimized-away (phantom) variables from Cmm through CFG and Linear to DWARF emission, enabling debuggers to display reconstructed values. PR #4595 opened 2025-08-27; depends on Flambda2 phantom-binding support in #3937.
-
OxCaml
cfg_tool.exe: new auxiliary tool for inspecting.cmir-cfg-regallocartifacts; supportslistandextractcommands with dominator and loop display. PR #4596 opened 2025-08-27.
Fixes
-
OxCaml flambda2 affine switches: recognises affine switch patterns (e.g.
A→0, B→2, C→4, D→6) so the middle end no longer forces a table lookup and blocks the later affine optimisation. Merged 2025-08-26 in PR #4571; closes issue #4474. -
OxCaml mode error hints: introduces a structured hint system for the mode (layout) type-checker, replacing ad-hoc error strings with tracked, printable explanations. Merged 2025-08-30 in PR #4471.