Repository activity
40458 results across all weeks
Stack 1/6: a fast development loop for compiler work
A persistent-watcher development loop for compiler work, plus the agent workflow
julesjacobsStack 2/6: vox solver interface
The logic and solver layer for vox: an obligation representation, an SMT-LIB
julesjacobsStack 3/6: Bigint for specifications
Bigint: arbitrary-precision signed integers in stdlib, the surface type for
julesjacobsStack 4/6: refinement type formers
The refinement type former: t{ predicate } as a real type in the type graph,
julesjacobsStack 5/6: totality and logicality axes
Two mode axes, added as a comonadic/monadic pair:
julesjacobsStack 6/6: the erasure axis
The Erasure axis: Retained < Erased, comonadic, legacy Retained. An
julesjacobsStop merging `clflags.ml(i)` into Merlin
Although Merlin contains a Clflags module in it, it is extremely diverged from the compiler's. As a result, when a change is made to the compiler's Clflags, it is virtually guaranteed to cause merge conflicts. These merge conflicts are very noisy as they almost always should just be ignored entirely.
Liam Stevenson (@liam923)Store dynamic bindings outside of stack_info
Allocates the per-fiber dynamic binding table separately from the fiber's stack_info struct, which moves when the fiber's stack grows (assuming stack checks are in use). This allows us to store a stable pointer to a running fiber's dynamic state in a following PR.
Max Slater (@TheNumbat)Store int id data for code in file sections
The exported data for names and continuations that are bound in exported code is currently stored in the main index for all int ids data, which must be deserialized before getting any exported information from a .cmx file.
Basile Clément (@bclement-ocp)Store the data in CMR files we need to resume the reaper
Adds code for serialising the necessary data to CMR files: everything we need to solve and rebuild programs, less what's already in CMX files.
Miriam Vellacott (@mirivella)Support layout polymorphism over records and variants with [any]-fields
Ryan Tjoa (@rtjoa)Synchronize merlin
This is the big kahuna - this PR does two things:
Liam Stevenson (@liam923)Temp: turn on mode poly by default
ainageorgesTrack constants and field projections in register availability
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Track staticity of functors and their applications
A functor's staticity equals its parameter's: a functor taking a static parameter is static, one taking a dynamic parameter is dynamic, and generative functors are always dynamic. On application, the functor's original staticity is recovered (its own staticity must be below the parameter's) and attached to Tmod_apply; the functor's own staticity is attached …
Zesen Qian (@riaqn)Translate Flambda 2 phantom lets to Cmm
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Unloading of metaprogramming compilation units
Some amusement using Claude. (The majority of the core ideas here are mine.)
Mark Shinwell (@mshinwell)Update docs for Merlin
This PR does some documentation updates requested by @mshinwell.
Liam Stevenson (@liam923)Update level operation
Added the update_level operation, which lowers the level of a variable.
ainageorgesUse alloc_regions to track zero-alloc annotations.
This adds the New_alloc_region and Close_alloc_region primitives, used to track zero-alloc annotations. The Close_alloc_region primitives can be integrated into apply_conts, to avoid them affecting code generation (especially with the simplification of switch expressions). Part of #5278.
Nathanaëlle Courant (@Ekdohibs)