cli: add explicit source generics and Copy option/result
Specialize explicit function, struct and enum templates into deterministic ordinary AIR, with structural constraints and bounded expansion. Preserve source provenance and readable names in specialization diagnostics. Add Copy-only std.option/std.result and vertical specification, grammar, Quick Reference, RFC and source coverage updates. Keep linear aggregates and existing unsupported source from-returns explicit follow-up work. Repair the finite-layout check through arrays under the existing E1003 contract, with positive and rejected source/AIR fixtures. Validation: build, unit tests, 640 conformance cases, 82/82 source constructs, 32-seed generic task stress, agent-reference, formatting, hosted smoke, 20 generic and 36 package CLI checks. Record three-encoding documentation budgets; AIR reference is unchanged.
This commit is contained in:
93 files changed
+1587
-75
No files matched your search
@@ -17,6 +17,7 @@ zig build run -- check f.air # verify a text AIR module
|
||||
zig build run -- run f.air # verify and execute @main (deterministic profile)
|
||||
python3 tests/hosted/smoke.py # hosted profile against the real OS
|
||||
python3 tests/hosted/source_modules.py # explicit package CLI and file-loading contracts
|
||||
python3 tests/hosted/source_generics.py # explicit generics, constraints and provenance
|
||||
(cd tools/eval && python3 -m unittest discover tests) # evaluation harness self-tests
|
||||
zig fmt --check build.zig src tools
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user