Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW37.2026 · 7–13 Sepoxcaml/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
  2. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Non-scanned layouts cross externality inherently rather than syntactically

    We currently have a syntactic implication that non-value base layouts such as bits32, etc., imply mod external_ (#5162).

    Ryan Tjoa (@rtjoa)
  3. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Optimization in zap scope

    Compute floor and ceiling bounds lazily when populating zap scopes, avoiding these calculations unless a non-generic variable needs them.

    ainageorges
  4. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Optimization: lazy adjoints in hints

    Makes hint adjoints in the mode solver lazy. Morph_hint.left_adjoint/right_adjoint used to walk and rebuild the whole hint tree on every submode through an edge, even though hints are only read when an error is printed.

    ainageorges
  5. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Optimization: prevent adding trivial meet- and join constraints

    Skip constant operations at their identity elements. In the underlying solver lattice, meet max m = m and imply max m = m, so the resulting constraints are trivial m < m. Monadic modes use the opposite lattice, where join_const and subtract_const are implemented as meet and imply. This PR skips these cases to prevent adding trivial solver edges.

    ainageorges
  6. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Overhaul of sort variable levels

    @jbachurski: I'm now convinced lowest_level is correct. nongen_level would just end up in the wrong pool and we might be allowed to generalise it after leaving the current level, which is bad.

    Jakub Bachurski (@jbachurski)
  7. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Pattern matching: support jump tables for unboxed values

    (As per title; not reviewed yet.)

    Xavier Clerc (@xclerc)
  8. Pull requestW37.2026 · 7–13 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)
  9. IssueW37.2026 · 7–13 Sepoxcaml/oxcaml

    Persistent_env checks an import's CRC vector twice on a checked cold lookup

    Persistent_env checks an imported interface's CRC vector twice on every checked cold lookup.

    Rudi Grinberg (@rgrinberg)
  10. IssueW37.2026 · 7–13 Sepoxcaml/oxcaml

    Potential n-way join performance improvements

    These can wait until later unless match-in-match is hitting them.

    Mark Shinwell (@mshinwell)
  11. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Pre-cache Effect.Preemption, and don't lookup via caml_named_value during preemption

    While we're in the middle of preemption, it's very important that we never allocate, since we might be holding onto a continuation that has been allocated but not yet initialized. This change fixes one case where that could have happened, where if the call to caml_named_value to look up the named Effect.Preemption effect value hits lock contention in the tab…

    Aspen Smith (@glittershark)
  12. Pull requestW37.2026 · 7–13 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
  13. Pull requestW37.2026 · 7–13 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)
  14. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Read the Claude workflows' model and effort from repo variables

    Both Claude workflows hardcoded --model claude-fable-5 and --effort xhigh in claude_args, so changing either required a PR. This reads them from the CLAUDE_MODEL and CLAUDE_EFFORT repository variables instead, which repo admins can change from Settings → Actions → Variables without a PR.

    Jacob Van Buren (@jvanburen)
  15. Pull requestW37.2026 · 7–13 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)
  16. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Record synchronized Merlin import for interface strengthener

    Second branch for the interface strengthener 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)
  17. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Refactor lowering and add expect_asm tests for lowering of index-like atomic primitives

    We currently expose three Lambda primitives for each atomic operation on block

    Joe Kerrigan (@joe-kerrigan)
  18. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Register the source file as DWARF-5 line table file 0 on macOS

    Seventh in the series (on top of #6926), fixing the .debug_line issue reported in this comment on #6923 — with one correction to that comment's analysis: the problem is independent of -gdwarf-version (and predates this stack entirely). The Apple assembler emits DWARF-5 line tables by default regardless of our flag, so the duplicate entry appears in DWARF-4…

    Mark Shinwell (@mshinwell)
  19. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Remove locations printed in the let_poly tests

    This changes an assertion failure to a fatal error to stop compiler source locations from being printed in test output so that it's stable across compiler changes.

    Jack Rickard (@Skepfyr)
  20. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Remove old compaction algorithm

    Since #3179 we've had two compaction algorithms and a tweak for choosing between them. The new algorithm has proved itself, and is essential for huge pages. This PR removes the old algorithm and the switching mechanism.

    Nick Barnes (@NickBarnes)