Repository activity
40458 results across all weeks
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)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)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)Vibe-coded prototype of a new FDO (feedback-directed optimization) implementation
ttebbi-janestreet`scannable non_pointer{,64}` is `mod external{_,64}`
Make it so the kind scannable non_pointer (and thus all subkinds, such as immediate and value non_pointer) is inherently mod external_, and so scannable non_pointer64 is inherently mod external64.
Ryan Tjoa (@rtjoa)add `zero_alloc_` to check arbitrary sub-expressions
Add zero_alloc_, a keyword acting like [@@zero_alloc] for arbitrary sub-expressions.
Will Sturgeon (@wrsturgeon)added addr_ and addr_imm pattern syntax
Adds parsing for addr_ and addr_imm_ patterns.
Benjamin Peters (@bn-peters)build(Makefile): add support for `make test-typing`
This Makefile target is the OxCaml equivalent of upstream's make -C testsuite parallel-typing.
Alistair (@johnyob)build(Nix): add `ocamlmerlin` and `dot-merlin-reader` to ocl shell
Merlin and friends were missing from ocl shell 😔
Alistair (@johnyob)build(deps): bump the actions group across 1 directory with 4 updates
Bumps the actions group with 4 updates in the / directory: ocaml/setup-ocaml, anthropics/claude-code-action, cachix/install-nix-action and zizmorcore/zizmor-action.
Dependabot (@dependabot)datalog: Use block representation for `Exit` opcode
This avoids an extra switch on %is_int of the opcode in the (somewhat hot) interpreter loop.
Basile Clément (@bclement-ocp)datalog: use Type from stdlib
This is a holdout from when we used 4.14 for the boot compiler.
Basile Clément (@bclement-ocp)faster builds for jsoo and ppxlib
Summary
Jacob Van Buren (@jvanburen)feat(typing): optional polymorphic params
Description
Alistair (@johnyob)feat(typing): region-local omnidirectionality
Alistair (@johnyob)feat: labeled tuple projections
This PR implements tuple projections for labeled tuples e.~l, using region-local omnidirectionality over the existing type-based disambiguation mechanism.
Alistair (@johnyob)fix: Pprintast incorrectly prints exclave-of-seq
(exclave_ ()); () prints as exclave_ (); () which parses as exclave_ ((); ())
Will Sturgeon (@wrsturgeon)fix: zero-alloc strict permits allocation in a diverging loop
Before this PR, the following was (incorrectly) accepted:
Will Sturgeon (@wrsturgeon)flambda2: Get rid of `other_closures` field in closure row-like
As noted by an old CR, this field is always Bottom. Let's get rid of it completely so that we don't have to discover that fact again every 6 months.
Basile Clément (@bclement-ocp)flambda2: emit constant fields of static blocks directly in Classic mode
In Classic mode the module block is built in the handler of the toplevel return continuation, so its fields reach To_cmm as variables rather than as symbols or constants, even when every one of them is bound to a constant. To_cmm_static then emits a placeholder for each field and a caml_initialize call in the module initialiser to fill it in at runtime. For …
Matthew Dempsky (@mdempsky)