Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Many, many untypeast/pprintast fixes

    It looked like untypeast/pprintast were broken again, so I made Claude find bugs in it and fix them. It ran untypeast/pprintast on every test in the testsuite and and found many bugs, some of them existing upstream as well. AI-generated text explaining the bugs that were fixed below:

    Nathanaëlle Courant (@Ekdohibs)
  2. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Miscellaneous improvements/fixes for the LTO version of the reaper

    This PR adds a couple of remaining fixes that are required for the link-time optimization version of the reaper to work. It should not be merged as is and, instead, requires a little bit more work.

    Simon Spies (@spiessimon)
  3. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Mode Polymorphism Demo

    This PR combines various existing PRs into a working mode polymorphism demo.

    ainageorges
  4. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Mode Polymorphism Parsing

    This PR adds a parser for mode polymorphism. In function types, argument and result mode annotations may now be mode variables ('m) or bounds ([< ... > ...]):

    ainageorges
  5. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Mode polymorphic primitives

    This PR adds support for mode polymorphic primitives, such as:

    ainageorges
  6. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Mode polymorphism parsing: morphisms

    This PR is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  7. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Mode polymorphism parsing: typing

    This PR is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  8. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    More refactoring of sexp printing functions

    This builds up on #4767 to use the new printing functions from Misc.Sexp to replace a lot of hand-written print functions.

    Guillaume Bury (@Gbury)
  9. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Moregen fast path

    Representative benchmarks hit the fast path 70% of the time (or more). Variants are not currently handled by the fast path, as the row machinery is complex. There is room to expand some of the kind and mode checks (like a "fast mode crossing" path); right now, we bail out.

    Zack Eisbach (@zackbach)
  10. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Move merlin ci into build.yml

    This PR migrates the Merlin CI check into the build.yml workflow. Merlin is still built and tested in a separate CI check from the checks that build and test the compiler.

    Liam Stevenson (@liam923)
  11. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Only use guard pages for currently-active stacks

    Enable millions of fibers without stack checks.

    Nick Barnes (@NickBarnes)
  12. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Parsing: mode variables, mode bounds and morphisms

    This PR is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  13. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Partially revert "Add `env_alloc_mode` to `Tpat_fun_layout` (#5662)"

    env_alloc_mode was incorrect because it didn't take into account partial application, now that we use the function's mode we don't need this.

    Jack Rickard (@Skepfyr)
  14. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Pass Ox Ptr values to C as pointers

    Experimental draft PR that adds @ox_ptr annotations to parameters of [@noalloc] external calls. These parameters are understood as a "fat pointer" of base and offset, with value_or_null & bits64 layout, such as an Ox.Ptr.t. The compiler adds the two words of the fat pointer together to get a single address word, which can be passed to a C function expecting …

    Nick Barnes (@NickBarnes)
  15. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Peephole optimise imul to lea for multipliers 3,5,9.

    We already use lea in place of imul for simple constant multipliers in some places. In experimenting with writing hash functions in OxCaml, @nmatschke found some places where that was not done. This adds a peephole stage on the backend to pick up those cases.

    Nick Barnes (@NickBarnes)
  16. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Post-dominators computation for SSA

    As per title; it implements the same algorithm

    Xavier Clerc (@xclerc)
  17. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Prevent bits8/16 parameters in C calls

    Exceptions are [@@builtin]s and parameters tagged with [@unsafe_unextended]. This restriction does not apply to, e.g. (int16[@unboxed]), since tagged integers are sign-extended instead of having garbage in their upper bits. It is not possible to put [@unsafe_unextended] on a component of an unpacked product.

    James Rayman (@jra4)
  18. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Printing and hiding a mode polymorphic curry mode

    This PR makes the following changes to the printer of mode polymorphic variables, all related to curry mode:

    ainageorges
  19. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Propagate kind constraints through with-bounds

    When resolving kind constraints with with-bounds on the left, propagate the constraints to the variables in with-bounds if possible. This means we can now type:

    dkalinichenko-js
  20. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Prototype for language support for testing

    Not ready for review

    Simon Spies (@spiessimon)