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

+4
View File
@@ -20,6 +20,10 @@ TESTS = os.path.join(ROOT, "tests", "conformance", "source")
# (area, construct, regex, needs a reject test)
CHECKLIST = [
("static functions", "explicit callable contract", r"[A-Z]\w*: fn\(", True),
("static functions", "explicit named operation argument", r"(?:<|, )fn [a-z]\w*(?:\.|>|:)", True),
("static functions", "forwarded static operation", r"(?:<|, )fn [A-Z]\w*", True),
("static functions", "named static worker", r"task\.spawn\(\w+, [A-Z]\w*[,)]", True),
("map", "bounded exact-key owning insert/lookup", r"std\.map\.(insert|get|contains)", True),
("map", "explicit growth, removal and drain", r"std\.map\.(reserve|remove|pop|free)", True),
("failure", "explicit built-in error value", r"(?:return|=) (alloc_error|io_error|cap_error)::", True),