comptime value-params

This commit is contained in:
2026-07-02 19:38:31 +02:00
parent b1ddecfc2e
commit 7cda126924
10 changed files with 579 additions and 56 deletions
+2 -1
View File
@@ -52,6 +52,7 @@ roadmap and milestone history.
### functions, C interop, and linking
- demand-monomorphized Brolang and C-ABI functions
- integer comptime value parameters such as `make_array func($N usize) [N]u8`, specialized by value and omitted from the runtime ABI
- bodyful `c_func` definitions and bodyless `c_func` declarations with exact external symbol names
- concrete-only C signatures, C variadic declarations/calls, and C default argument promotions
- Apple Silicon C ABI lowering for scalars, pointers, fixed-signature plain records/unions, small aggregates, homogeneous float aggregates, and indirect aggregate returns
@@ -79,7 +80,7 @@ roadmap and milestone history.
## PLANNED / DEFERRED
- comptime polymorphism
- comptime type parameters and comptime-evaluable functions
- tuples and native Brolang variadic functions
- exporting Brolang functions to C and broader target-specific C ABI lowering
- non-plain C record layouts such as bitfields, packed records, flexible arrays, qualified fields, and C variadic record arguments