Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    JSIR: support Smallints

    Add support for Smallints for JSIR translation. We use the same representation as in bytecode and native code, where they are stored sign-extended.

    Leo Lee (@smjleo)
  2. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    JSIR: support effects

    This PR enables support for effects with JSIR, and re-enables the tests in effect-syntax, effects and effects-safe for JSIR.

    Leo Lee (@smjleo)
  3. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    JSIR: thread unyielding information through Flambda

    JSOO uses this information to emit direct calls instead of CPS calls when in double translation mode. This threading exists in the bytecode path but not in Flambda.

    Leo Lee (@smjleo)
  4. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    JSOO: sign-extend 8-bit reads through string-like block indices

    On JSOO/WASM, 8-bit unboxed values like char# and int8# are sign-extended. However, reads through string, bytes and bigstring block indices used unsigned byte reads, which return a zero-extended char. Reading a byte 0xff therefore produced 255 instead of -1, so the result did not compare equal to other 8-bit values with the same bits, and reinterpreting it a…

    ericlovesmath (@ericlovesmath)
  5. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Key cmx caches by Compilation_unit.t

    Based on main; #7505 is based on this PR.

    Zesen Qian (@riaqn)
  6. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Layout poly - merge fracture and eval

    This merges the slambda fracturing and eval passes into one slambda pass, which means there's no longer a slambda IR either. This is mostly motivated by simplicity, trying to accurately model evaluation order etc in slambda was hard and writing it as one pass is arguably easier than having it as two.

    Jack Rickard (@Skepfyr)
  7. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Liam backport merlin 2141

    This PR downstreams ocaml/merlin#2141. This PR fixes a rather nefarious Merlin caching issue. The bug in question can cause Merlin to fail to load a cmi from disk after previously raising an "inconsistent assumptions" error, which can happen if Merlin is queried while a build is running.

    Liam Stevenson (@liam923)
  8. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Machtype checking

    Adds another pass during cmm_invariants that traverses Cmm expressions and makes sure the machtypes of inputs and outputs of each operation are consistent with eachother. For now, this machtype-checking pass is toggled with a separate flag (-dcmm-(no-)check-machtypes, default enabled), but it can be folded into -dcmm-invariants when we consider the machtype …

    James Rayman (@jra4)
  9. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make Branch_relaxation.Make.fixup_branches.fixup tail-recursive

    This function should be tail-recursive (and is, perhaps, causing a Stack overflow when compiling some large functions).

    Nick Barnes (@NickBarnes)
  10. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make Format and Dynarray internals cross statefulness and visibility

    dkalinichenko-js
  11. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make externality a "secret" mode axis

    Instead of hardcoding externality as a special-cased non-modal axis, make it a regular modal axis. Hide it and prevent users from writing annotations for externality modes and modalities, allowing them in mode-crossing only.

    dkalinichenko-js
  12. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make mutable unboxed versions invariant and cross fewer axes

    Draft

    Zack Eisbach (@zackbach)
  13. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make ocaml-index deterministic

    At the moment, ocaml-index write a random id into an index file. This is so that other index files that point at it can store the expected id, and thus determine if the pointed-at index file has changed since the current index file has been written. While this is useful knowledge, it causes builds to not be deterministic. This PR replaces the random id with …

    Liam Stevenson (@liam923)
  14. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make stateless the default modality of stdlib interfaces

    dkalinichenko-js
  15. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Make the local iarray functions zero-alloc compatible

    Wraps local IArray functions that are clearly meant to be local with [@zero_alloc assume] much like #6147 does

    ericlovesmath (@ericlovesmath)
  16. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Mark `external/merlin/upstream/ocaml_flambda` as linguist-generated

    These files are generated by the external/merlin/scripts/import-ocaml-source.sh script, and the Merlin CI check verifies that they're in line, so there's no need to review them. Marking them as linguist-generated will make GitHub collapse them by default when reviewing. Unfortunately, there doesn't seem to be a stronger way to tell GitHub to ignore review on…

    Liam Stevenson (@liam923)
  17. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Merlin: restore cmi identity check in typer cache invalidation

    Stacked on #7687.

    Zesen Qian (@riaqn)
  18. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Mode crossing for addresses

    Adds the following modal kinds for addr and addr_imm:

    Benjamin Peters (@bn-peters)
  19. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    More complete type inference with `eval` and concrete types

    Motivation

    Jakub Bachurski (@jbachurski)
  20. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Morphism meets and joins

    The solver keys vlower/vupper arrows by (variable, morphism), so constraints between the same two variables with different morphisms are separate edges. Since f u <= v and g u <= v together mean (f join g) u <= v, and dually with meet for upper arrows, one edge per pair suffices if morphisms can be joined and met. This PR adds join_morph/meet_morph to Lattic…

    ainageorges