plan: Phase 0 exit review (P0-13)
- all Phase 0 tasks done; exit criterion met (41 conformance tests, run records compared across two runs) - RFC 0004 Amendment 1 documents format-0 additions; status stays Proposed pending owner acceptance - open question Q-019: non-terminating programs in test tooling - README/CONTRIBUTING: current state and `aji run`
This commit is contained in:
1 parent
8ca93d0fa6
commit
c7c5e4f521
6 files changed
+49
-14
No files matched your search
@@ -88,3 +88,17 @@ interpreter behavior
|
||||
## Binary stability
|
||||
|
||||
AIR opcodes should receive stable numeric IDs only after the semantics of v0.1 freeze. Before then, text AIR is the safer canonical interchange for development.
|
||||
|
||||
## Amendment 1 — format version 0 (Phase 0)
|
||||
|
||||
Status: Proposed, implemented in the reference implementation.
|
||||
|
||||
Format version 0 (spec 07 §8, spec 07a) realizes the "pure values" and "control" families and adds the following, each a distinct verifier operation rather than syntax sugar:
|
||||
|
||||
| Addition | Why it is a distinct operation |
|
||||
|---|---|
|
||||
| `cast.widen` / `cast.checked` / `cast.wrap` | the three cast semantics differ in verifier obligations (static losslessness, runtime trap, none) |
|
||||
| `struct.make`, `struct.get` | nominal aggregate construction and projection need their own typing rules |
|
||||
| `enum.make`, `enum.switch` | tagged unions: exhaustiveness is checked by the CFG pass and payloads bind to block parameters, so no separate "get payload" instruction can observe an inactive variant |
|
||||
|
||||
Not yet realized: memory, ownership, resources, calls through values (`call.indirect`) and concurrency families; they arrive with their phases and are specified in spec 07a first.
|
||||
Reference in new issue
Block a user