Repository activity
40458 results across all weeks
Adding a `-runtime-variant baremetal`
Adding a runtime variant for bare metal and gating most OS-dependent parts on not bare metal. It forces single domain, no threads or signals, has no-op mutexes and malloc-based memory mapping.
Vlad Turcuman (@vladturcuman)Allow non-`value` optional arguments
Follow-up to #5462.
Luke Maurer (@lukemaurer)Allow skipping intermediate return modes in moregen
Adds a ret_modes flag to Ctype.moregeneral so a caller can constrain only the final arrow of the subject's return spine, and exposes submode_with_cross in the interface. Merlin's strength analysis (#6812) uses these to compute the strongest signature for a function without over-constraining intermediate arrows.
Gavin Gray (@gavinleroy)Allow stack-allocating bigstring blocks
Add runtime support for allocating the custom block of a bigstring on the stack.
David Vulakh (@dvulakh)Apply modality to the base of the curry mode in the parser and printer
When parsing 'a @ m1 -> 'b -> 'c @@ m2 in a signature, the implicit curry mode was constructed as the join between m1 and legacy, ignoring the value's modality m2. For
ainageorgesAttach loclists_base and rnglists_base when offset arrays are in use
When -gdwarf-offsets offset arrays are in use, DW_FORM_loclistx and DW_FORM_rnglistx indices are resolved via the offset arrays whose positions the DW_AT_loclists_base and DW_AT_rnglists_base attributes give. These attributes were never attached to the compilation unit DIE, so the indices could not have been resolved. This attaches them. The flag currently h…
Mark Shinwell (@mshinwell)Avoid building location and range list data that is never used
Two small optimisations that avoid constructing DWARF data which nothing references:
Mark Shinwell (@mshinwell)Bidirectional type checking for applications
Import ocaml/ocaml#285. Fix some metaprogramming issue?
dkalinichenko-jsBox kinds
Add the box kind constructor. The kind k box indicates the boxed version of a kind k.
Ryan Tjoa (@rtjoa)Bump magic numbers for 5.4.0-ox8
586 ↝ 587; here we roll...
David Allsopp (@dra27-js)Bump the actions group across 1 directory with 2 updates
Bumps the actions group with 2 updates in the / directory: anthropics/claude-code-action and cachix/install-nix-action.
Dependabot (@dependabot)CFG basic operations (refactoring / tightening)
This pull request is refactoring a couple of
Xavier Clerc (@xclerc)Calculate slot offsets at solve time
Moves slot offset computation to solve time.
Miriam Vellacott (@mirivella)Change most stdlib/built-in parameterised types to take `any`
Not ready for review
Luke Maurer (@lukemaurer)Change the kind of the parameter of `option` to `any`
-type 'a option =
Luke Maurer (@lukemaurer)Change the reporting of mode errors during subsumption
When the modes of an implementation are not more general than the modes of a module signature, the current error reporting only prints the mismatching signatures. This can lead to confusing error messages when the mode at fault does not get printed, such as when it is implied by other modes.
ainageorgesChanging representation of blocks
Nathanaëlle Courant (@Ekdohibs)Check and propagate functor staticity for include functor and F ()
[include functor F] applied a functor without the staticity checks that [F (X)] performs: a dynamic functor (e.g. one loaded via plain -I) could be included where a static one is required, and the included items were given the functor type's declared result mode rather than inheriting the functor's staticity. It was also always compiled as a plain [Lapply], …
Jack Rickard (@Skepfyr)Close the Merlin listener before acknowledging shutdown
stop-server could return while the departing Merlin server was still listening on its Unix socket. A command issued immediately afterward could connect to that listener, then lose its request when the server exited, producing abnormal termination.
Gavin Gray (@gavinleroy)Compile bit tests (`x land m <> 0`) to a single `test` instruction
(Early draft, should maybe split into cmm and flambda PRs.)
Xavier Clerc (@xclerc)