cli: add explicit static function parameters

Bind typed source functions with exact effect contracts during deterministic
specialization; retain nominal operation identity and ordinary AIR verification.

Add spec/RFC/grammar, checked Quick Reference examples, source/AIR conformance,
package/hosted CLI tests, scheduler/GC coverage and documentation budgets.
This commit is contained in:
dev committed 2026-10-07 10:23:03 +03:00
1 parent 57603860df
commit f02f4bd55b
72 files changed
+969 -25

No files matched your search

+7
View File
@@ -31,6 +31,7 @@ Status values: `open`, `resolved`.
| Q-035 | resolved | STD-5 | Whole-value linear aggregates |
| Q-036 | resolved | STD-6a | Dynamic initialized linear buffer storage and drain |
| Q-038 | resolved | STD-6d.2 | Pure construction of built-in errors |
| Q-039 | resolved | STD-6d | Explicit static function parameters |
## Q-001 — Text AIR grammar
@@ -281,3 +282,9 @@ HashMap<K,V> needs a stable hash/equality pair: equal keys must hash equally, wh
STD-6d.2 needs to return allocation-size validation failure without allocating. Existing built-in errors were obtainable only from fallible runtime operations.
**Resolved (RFC 0027 branch implementation):** spec 05 §14 adds feature `error_values` and pure `error.const B.variant`; source reuses `B::variant`. Every registered payload-free error variant is ordinary Copy data, never authority. Existing `enum.make` and runtime outcome rules are unchanged.
## Q-039 — Explicit static function parameters
General collections and algorithms need explicit typed hash/equality/order operations, while current generics carry only types.
**Resolved contract (RFC 0029 Proposed):** spec 15 §18 permits explicitly selected source functions as static parameters with exact typed/effect contracts. Selection is part of nominal specialization identity and lowers to existing named AIR calls/workers. No function pointers, capture environment, inferred effects or runtime dispatch are introduced. Q-037 remains open until generic map/set storage and APIs are implemented and verified.