Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Overhaul of sort variable levels

    Unsound layout polymorphism is abound, because levels of sort variables are not correctly tracked, and they could generalise via let poly_ at semi-arbitrary points.

    Jakub Bachurski (@jbachurski)
  2. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Peephole on tag_int(x lsr n): make #int array length primitive as good as standard array length

    There was a missing peephole optimisation for this primitive.

    Pierre Chambart (@chambart)
  3. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Prevent abstract kinds from escaping their scope

    This implements raising Escape errors for Jkinds, just like for types.

    Jakub Bachurski (@jbachurski)
  4. Pull requestW38.2026 · 14–20 Sepoxcaml/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
  5. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Produce structured mode diagnostics

    This PR introduces the diagnsotics/ directory, which consumes errors in the compiler and produces "structured diagnostics".

    Gavin Gray (@gavinleroy)
  6. IssueW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper graph summaries

    Nathanaëlle Courant (@Ekdohibs)
  7. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: answer rebuild's queries at solve time

    This PR introduces an optimization in the reaper: it precomputes the queries asked at build time. That is, the datalog queries the rebuild needs are recorded during traversal, run in bulk once the fixpoint is solved, and captured as plain values. [Rebuild_solution] packages the query results with the unboxing decisions and code changes. The rebuild consumes …

    Simon Spies (@spiessimon)
  8. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: carry the solved slot offsets in the rebuild solution

    In preparation of link-time optimization, this PR stores the solved slot offsets in the rebuild solution.

    Simon Spies (@spiessimon)
  9. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: compute slot offsets from explicit inputs

    This PR materializes the inputs of the slot offset computation in preparation for link time optimization. It allows us to compute them at traverse time, store them on disk, and then load them for the solve time computation.

    Simon Spies (@spiessimon)
  10. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: keep unboxed fields in a fixed traversal order

    This PR materializes the order in which we traverse unboxed fields in preparation for link-time optimization. The reason is that fields are hash consed, so if we serialize and then deserialize fields, we are not guaranteed the same ids. By fixing the order, we can be sure that rebuilt parameters and arguments agree with code metadata on the order of fields.

    Simon Spies (@spiessimon)
  11. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: read result arities from the code metadata

    This PR removes result arity as an accumulator field in traverse_acc.ml, because the information is already in the code metadata.

    Simon Spies (@spiessimon)
  12. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: record cross-unit call references, resolved before solving

    This PR prepares for link-time optimization with the reaper. Specifically, it records calls that cross compilation units, thereby delaying when they are added to the dependency graph. This change will allow us to record the relevant calls at traverse time and then actually connect them at rebuild time.

    Simon Spies (@spiessimon)
  13. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: run a flat datalog schedule under -reaper-solve

    This PR changes the fixpoint iteration schedule when compiling with link-time optimizations. Instead of a two tier schedule, we use a schedule.

    Simon Spies (@spiessimon)
  14. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: split into staged traverse, solve and rebuild phases

    In preparation for link-time optimization, this PR refactors the reaper into traverse, solve, and rebuild stages. This will allow us to run these steps in different ocamlopt processes in the future.

    Simon Spies (@spiessimon)
  15. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Reaper: support rebuilding without typing information

    This PR tweaks the rebuild step of the reaper to make its typing environment optional. This is useful for link-time optimization, where there is no need to produce the final typing environment.

    Simon Spies (@spiessimon)
  16. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Recompute `value_kind`s for records with `any`-fields

    Compute better value_kinds for records containing any in value_kind_record. This improves codegen for records with any-fields.

    Ryan Tjoa (@rtjoa)
  17. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Record compiler profiling in Dune action traces

    Liam Stevenson (@liam923)
  18. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Record scannable axes on sort vars

    Save scannable axes on Jkind.Layout.Const.t's Genvar and Univar variants so that when we save and reload from cmis we don't lose this info and have to assume things.

    Jack Rickard (@Skepfyr)
  19. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Record synchronized Merlin import for module type implementations

    Second branch for the module type implementations worktree. external/merlin/scripts/import-ocaml-source.sh reported that Merlin was already synchronized, so this layer contains only the administrative synchronization commit.

    Gavin Gray (@gavinleroy)
  20. Pull requestW38.2026 · 14–20 Sepoxcaml/oxcaml

    Record synchronized Merlin import for strength analysis

    Second branch for the strength analysis worktree. external/merlin/scripts/import-ocaml-source.sh reported that Merlin was already synchronized, so this layer contains only the administrative synchronization commit.

    Gavin Gray (@gavinleroy)