Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Support all-void constructors represented as blocks

    Currently, constructors whose arguments are all-void require the attribute [@immediate_all_void_constructor], and such constructors are represented as immediates. In this PR, we allow the attribute to be omitted, in which case such constructors are represented as empty blocks (statically-allocated atoms).

    Ryan Tjoa (@rtjoa)
  2. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Support layout polymorphism over records and variants with [any]-fields

    Currently, constructors whose arguments are all-void require the attribute [@immediate_all_void_constructor], and such constructors are represented as immediates. In this PR, we allow the attribute to be omitted, in which case such constructors are represented as empty blocks (statically-allocated atoms).

    Ryan Tjoa (@rtjoa)
  3. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Tighten location of `Pexp_hole` in `?_` and `~_`

    Possible oversight in #4956? It seems inconsistent that ?label and ~label give the location for label but ?_ and ~_ give the location for ?_ and ~_ rather than just the _

    David Allsopp (@dra27-js)
  4. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Track function arguments in mode-solver provenance

    Similar to #6249 this PR adds additional provenance tracking for mode constraints. This PR adds the Function_argument morph hint, carrying the callee location, argument location, and argument index.

    Gavin Gray (@gavinleroy)
  5. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Track written mode-annotation provenance

    Changes in this PR were pushed to #6249

    Gavin Gray (@gavinleroy)
  6. IssueW35.2026 · 24–30 Augoxcaml/oxcaml

    Unexpected type from `include functor` application in signature context

    When trying the following code in the toplevel:

    Marek Kubica (@Leonidas-from-XIV)
  7. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Unknown locations

    Anonymous functions, anonymous modules and partial-application wrappers have no

    Tim McGilchrist (@tmcgilchrist)
  8. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Untangle build of CamlinternalQuote

    The build does some unnecessary gymnastics to allow the compiler to refer to CamlinternalQuote from within compiler-libs. There's no reason to do this: the only use is for the toplevel to print quoted items, and the toplevel can print them using Oval_printer. (The toplevel has no trouble referring to CamlinternalQuote directly, because it's not built in the …

    Stephen Dolan (@stedolan)
  9. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Untangle equating sorts

    This should be a conceptually equivalent refactor of Sort.equate.

    Jakub Bachurski (@jbachurski)
  10. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Update level operation

    Added the update_level operation, which lowers the level of a variable.

    ainageorges
  11. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Upstream Merlin's `Pmod_hole` into the compiler

    Pmod_hole - the module_expr dual of Pexp_hole, which has been in Merlin's parser for some time. This is a precursor to attempting to upstream both of these to OCaml, allowing the ppx ecosystem to use these parsetree nodes as well.

    David Allsopp (@dra27-js)
  12. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Use base addresses and offset pairs in DWARF-5 location and range lists

    Sixth in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6923). Attacks the .debug_addr cost left by the DWARF-5 conversion: startx_endx entries put two 8-byte address-table slots (each with a relocation) behind every distinct range boundary — 8.2 MB of .debug_addr (~1M entries) across a compiler build.

    Mark Shinwell (@mshinwell)
  13. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Use compact DWARF forms for small constants, high PC offsets and entry PC

    Fourth in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6920). A byte-level audit of ocamlopt's linked DWARF showed that the biggest .debug_info cost was not the DIEs themselves but fixed 8-byte forms used for values that almost always fit in one byte:

    Mark Shinwell (@mshinwell)
  14. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Vendor csexp

    Vendor csexp into the repo using git subtrees. Merlin depends on it, so this is necessary for putting Merlin in the compiler distribution.

    Liam Stevenson (@liam923)
  15. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Vendor yojson

    Vendor yojson into the repo using git subtrees. Merlin depends on it, so this is necessary for putting Merlin in the compiler distribution.

    Liam Stevenson (@liam923)
  16. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Very large frames need stack checks even when no_stack_checks

    When stack-checks are disabled, we use a memory-protected "guard page" to catch stack overflow. However, functions with stack frames of more than one page can skip over this guard page and crash. So we should retain stack checks on such functions (this is a very few functions, generally huge and time-consuming, so another few instructions on function entry a…

    Nick Barnes (@NickBarnes)
  17. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Write and read .ltosol files, not yet containing actual solutions

    The -reaper-solve entrypoint is modified to create .ltosol files, which at the moment contain just the following:

    Miriam Vellacott (@mirivella)
  18. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    [DRAFT] Add -nondep flag to erase a module from a generated .cmi

    Summary

    Zesen Qian (@riaqn)
  19. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    add ocamllsp to nativeBuildInputs

    This way a shell environment from nix provides the LSP.

    Gavin Gray (@gavinleroy)
  20. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    basic functorization support

    Add basic support for -functorize: bundle parameterised modules into a single functor.

    Zesen Qian (@riaqn)