Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

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

    Add bitwise `not` to lambda and flambda

    This improves some codegen, mainly by removing sign-extensions, and is setup for a later PR that will update the backend IRs so NOT/ORN instructions can be emitted.

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

    Add bitwise `not` to the backend

    This allows the compiler to emit NOT/ORN instructions rather than emulating them with XOR -1.

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

    Add borrowability and borrowedness mode axes

    Groundwork for the exclusive/separate modes (internal ticket 1017). This adds the two new axes the design calls for, fully plumbed through the mode solver, jkinds and printing, but with no semantics of their own yet: nothing infers unborrowable or requires owned except explicit annotations, and the axes are not yet coupled to linearity/uniqueness.

    Matthew Dempsky (@mdempsky)
  4. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Add rotate instructions, primitives, and functions

    Rotate!

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

    Add support for annotating parameters as contractive with [@rec]

    This PR adds support for a [@rec] annotation on type parameters to indicate that the parameter is contractive. If a type constructor t is contractive then a recrusive type like:

    Leo White (@lpw25)
  6. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    After compaction, tell malloc to release memory

    We use malloc for all blocks > 1 KiB, and for medium sized blocks (between 1 KiB and some system-dependent threshold) that memory will remain on the C heap indefinitely after the GC frees it. Compaction should probably attempt to return that memory to the OS. This does so both for TCMalloc (detected via a weak symbol) and for glibc malloc (using malloc_trim …

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

    Allocation Mode Axis

    Add Allocation mode axis to analyze whether a function allocates on heap.

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

    Allow -instantiate to take argument compilation unit names

    Follow-up to #7331, which moved argument block metadata into .cmis.

    Zesen Qian (@riaqn)
  9. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Allow bodies of `if`s without `else`s to have type `unit#`

    Not ready for review. Testing internally.

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

    Allow generalized sort variables in module representation

    Previously transl_module_representation would fatal_error upon encountering a generalized sort variable, so code like this would error out:

    Joe Kerrigan (@joe-kerrigan)
  11. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Allow non-`value` optional arguments

    Follow-up to #5462.

    Luke Maurer (@lukemaurer)
  12. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Apply modality to the base of the curry mode in the parser and printer

    When parsing 'a @ m1 -> 'b -> 'c @@ m2 in a signature, the implicit curry mode was constructed as the join between m1 and legacy, ignoring the value's modality m2. For

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

    Automatically generate an `expect_asm` test for every scalar primitive

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

    Avoid useless copies of functions (Again)

    This is a revert of #7457 which reverted #7437

    Pierre Chambart (@chambart)
  15. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Avoid useless copies of the same function produced when simplifying functions with no benefits

    This is a safe first step for some speculative specialization, but we could go further and use the same kind as heuristic as inlining.

    Pierre Chambart (@chambart)
  16. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Avx512 intrinsics

    (wip)

    Max Slater (@TheNumbat)
  17. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Bidirectional type checking for applications

    Import ocaml/ocaml#285. Fix some metaprogramming issue?

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

    Bring back JSOO changes for JSIR

    This PR brings back changes that were made to external/js_of_ocaml to support ingesting JSIR, that was erased in #7071 . The ocamlj pipeline is not yet expected to work with this version of JSOO, as the Flambda and JSOO implementations have drifted since these original changes. This will be addressed in subsequent PRs.

    Leo Lee (@smjleo)
  19. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Bug fix: uniform behavior for generalize structure optimization

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

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

    Bump magic number for ox11

    Title

    Max Slater (@TheNumbat)