Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Extend .cmx/.cmo files with a data field for laws

    Building on #7972, this PR adds support for storing the data of laws in .cmx/.cmo files. It additionally adds a small tool, ocamllaws, for retrieving the data and printing it. To decouple the plumbing of this change from the actual work (i.e., producing the law data), this PR introduces an abstract type Laws_data.t but stubs out the implementation.

    Simon Spies (@spiessimon)
  2. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    FDO: Push counters through Cmm

    Adds FDO counters for function entry, calls, and branches to Cmm, and pushes them through the translation from Flambda to Cmm.

    yusumez-js
  3. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    FDO: Push counters through Simplify

    (NOTE: this PR description is outdated. I will update it soon.)

    yusumez-js
  4. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Fix rdpmc results allocated to rdx

    As per title; the fix is to factor out the codes

    Xavier Clerc (@xclerc)
  5. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Float32.of_string mis-rounds hexadecimal subnormals

    Hexadecimal subnormals come out one ulp away from the correctly rounded value, and for 0x1000001p-174 a positive nonzero literal becomes +0.0:

    KC Sivaramakrishnan (@kayceesrk)
  6. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Implement `-Hx`, `-open-cmi-x`, and friends

    Motivation

    Joe Kerrigan (@joe-kerrigan)
  7. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Improve unboxed assignment errors

    Currently, if we try to assign to a mutable field of an unboxed record, we get an error that blames the boxedness and not the mutability. This can be confusing, especially for new users of these features.

    Zack Eisbach (@zackbach)
  8. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Interleaved blocks

    This PR changes the layout of blocks on the OxCaml heap, to allow blocks with arbitrary arrangements of scannable and non-scannable words.

    Nick Barnes (@NickBarnes)
  9. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    JSIR: implement a linker for whole-program compilation

    We combine a list of JSIR programs into a single JSIR program, so that we can perform whole-program optimisations using JSOO. We still keep the existing "separate compilation" mode as the default (which uses the JSOO linker instead), and add a -link-jsir flag for whole-program mode. See README on further details on how the linker works, but it is conceptuall…

    Leo Lee (@smjleo)
  10. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    JSIR: improve debugging info support and documentation

    In particular:

    Leo Lee (@smjleo)
  11. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    JSIR: rename JSIR-related file extensions

    As discussed internally:

    Leo Lee (@smjleo)
  12. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    JSIR: switch to JSOO whole-program mode when using the JSIR linker

    Previously, when using the JSIR whole-program linker, we still built the runtime and invoked the JSOO linker separately. This meant that the entire runtime was included, instead of just the ones that are needed by this program. This PR makes ocamlopt run JSOO in whole-program mode to fix this.

    Leo Lee (@smjleo)
  13. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    List comprehension to max_int loops forever

    A list comprehension whose last element is max_int does not terminate, and after the wrap it keeps yielding values from the bottom of the range:

    KC Sivaramakrishnan (@kayceesrk)
  14. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Local array corrupted after an async exception

    A local array reads another function's values after an async exception is raised while a second handler is pending:

    KC Sivaramakrishnan (@kayceesrk)
  15. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Mutable record field update in "when" guard causes segfault

    The following program causes a segfault (and causes no warnings other than 70, missing .mli):

    Mark Shinwell (@mshinwell)
  16. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    No compile-time data for modules in recursive definitions

    Makes recursive modules appear dynamic as translation can lose track of their compile-time halves.

    Jakub Bachurski (@jbachurski)
  17. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Refactor ARM64 architecture extensions

    Adds the following

    yusumez-js
  18. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Refactor `Typedtree.constant` to use the correct payload types

    See the diff in typedtree.mli for the core of the change. The rest of the diff is a mechanical refactor.

    James Rayman (@jra4)
  19. Pull requestW46.2026 · 9–15 Novoxcaml/oxcaml

    Remove duplicate inlined frames in debuginfo introduced by Flambda

    Fix two cases (and leave on as a CR) where Flambda 2 Simplify adds the frames of the current inlining context to debuginfo a second time.

    yusumez-js
  20. IssueW46.2026 · 9–15 Novoxcaml/oxcaml

    Return types can cause depth variables to escape

    Example:

    Vincent Laviron (@lthls)