Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Add the (Merlin) Typing-Recovery mechanism directly to the type checker

    This PR implements the Typing Recovery mechanism, recently merged into ocaml/ocaml (and superseed #6187), in an appropriate manner. To provide some context, the goal of integrating the recovery mechanism is to reduce the differences between the type checker provided by Merlin and the compiler’s type checker, thereby facilitating the process of upstreaming …

    Xavier Van de Woestyne (@xvw)
  2. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Allow [@cold][@inline] and mark calls to @cold as cold in Flambda

    [@cold] no longer overrides an explicit [@inline] attribute (it still implies [@inline never] on its own), so a cold function can be inlined.

    ttebbi-janestreet
  3. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Allow interoperation with third-party signal handlers

    The existing Sys.signal_behavior type does not encompass third-party signal handlers, installed by external code (such as another language's runtime). With this PR, such a handler is expressed as Signal_external e, with an abstract value e. The external handler can be re-installed in the usual way with Sys.signal.

    Nick Barnes (@NickBarnes)
  4. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Allow stack-allocating bigstring blocks

    Add runtime support for allocating the custom block of a bigstring on the stack.

    David Vulakh (@dvulakh)
  5. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Annotate Stdlib intrinsics with statefulness

    dkalinichenko-js
  6. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Annotate atomic and domain intrinsics with statefulness

    dkalinichenko-js
  7. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Annotate intrinsics of immutable data modules with statefulness

    dkalinichenko-js
  8. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Annotate intrinsics of mutable data modules with statefulness

    dkalinichenko-js
  9. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Annotate system intrinsics with statefulness

    dkalinichenko-js
  10. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Bootstrap OxCaml with OxCaml & hill-climb various efficiency metrics

    Will Sturgeon (@wrsturgeon)
  11. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Bugfix for extension constructor naming

    Exceptions and other extension constructors got the wrong name if defined inside an 'include struct ... end' (or similar), because the rootpath used to name the constructor got dropped.

    Stephen Dolan (@stedolan)
  12. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Build ocamlopt with link-time optimisation

    Adds an opt-in mode that runs the Reaper's LTO pipeline over the compiler itself. Take a clean tree and run make lto=yes lto-compiler to compile the main context with -support-lto, solve over the whole program, rebuild every unit against that solution and relink ocamlopt as _build/main/oxcaml/lto/ocamlopt_lto.exe. This can be compared to _build/main/oxcaml…

    Mark Shinwell (@mshinwell)
  13. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Build the runtime with dune instead of make

    The dune rules in runtime/dune and runtime/caml/dune used to shell out to make -f Makefile.upstream. This PR makes dune build all of these directly, fixing the fact that incremental builds did not relink the compiler binaries after a runtime change. The details seem hacky to me; perhaps a dune expert can improve on it.

    Nick Barnes (@NickBarnes)
  14. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Build with oxcaml switch

    Not to be merged yet; needs another public release roll before we can use ocamlformat and merlin

    Max Slater (@TheNumbat)
  15. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    CFG peephole: merge adjacent `Ioffset_loc` (amd64)

    Add a CFG peephole rule, merge_adjacent_specific_operations,

    Xavier Clerc (@xclerc)
  16. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    CSE: do not rematerialize large integer constants (amd64)

    On amd64, classify an integer constant as cheap only

    Xavier Clerc (@xclerc)
  17. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Closure_conversion: generate more compact module initialisation code

    Alternative to #7267.

    Vincent Laviron (@lthls)
  18. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Cmm: Peepholes for shift/mask combinations

    Add two shift/mask rewrites to the Cmm smart constructors, and improve the precision of ignore_low_bit_int.

    Ryan Tjoa (@rtjoa)
  19. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Cmm: Track the bit length of narrow loads

    Cmm_helpers.max_signed_bit_length now knows the width of byte, 16-bit and 32-bit loads, so asr_int can cancel (x lsl n) asr n when x is such a load.

    Ryan Tjoa (@rtjoa)
  20. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Compile bit tests (`x land m <> 0`) to a single `test` instruction

    (Early draft, should maybe split into cmm and flambda PRs.)

    Xavier Clerc (@xclerc)