spec: Phase 0 spec gate (P0-1, P0-2, P0-3)

- text AIR format 0: grammar (reference/air-text.ebnf) and module,
  block, SSA, type and canonical-form rules (spec 07 §8)
- instruction contracts for format 0 (new spec 07a)
- traps: stable T0xxx codes and trap records (spec 01 §6)
- integer edge cases and explicit casts (spec 02 §2.1)
- fixed verifier resource limits (spec 08 §7)
- target description with pointer_bits (spec 09 §9)
- new codes E0001-E0006, E1003, T0001-T0007
- resolves Q-001, Q-003..Q-008, Q-018; Q-002 resolved for format 0
This commit is contained in:
dev committed 2026-10-04 12:14:25 +03:00
1 parent 11ce6cb38c
commit 41b764ccfd
13 files changed
+425 -18

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ The specification is split by semantic domain. Rationale for major decisions liv
| [04-concurrency-and-atomics.md](04-concurrency-and-atomics.md) | Normative draft | Tasks, synchronization, memory model, atomics |
| [05-effects-and-capabilities.md](05-effects-and-capabilities.md) | Normative draft | Authority and effect tracking |
| [06-resources-and-errors.md](06-resources-and-errors.md) | Normative draft | Linear resources and error handling |
| [07-air.md](07-air.md) | Normative draft | Canonical IR |
| [07-air.md](07-air.md) | Normative draft | Canonical IR, text format |
| [07a-air-instructions.md](07a-air-instructions.md) | Normative draft | Per-instruction contracts |
| [08-verifier.md](08-verifier.md) | Normative draft | Verification rules |
| [09-runtime-and-abi.md](09-runtime-and-abi.md) | Normative draft | Runtime, FFI, MMIO/DMA |
| [10-diagnostics-and-agent-protocol.md](10-diagnostics-and-agent-protocol.md) | Normative draft | Stable diagnostics and `ajid` |