ABI choice 2c: a word with no fixed stack effect cannot be exported; every export has a fixed, derived effect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
+4
-3
@@ -143,9 +143,10 @@ stock." Ruled "One train per capsule" (§1).
|
|||||||
- **There is no declaration in the source.** The host tool computes each exported word's stack effect
|
- **There is no declaration in the source.** The host tool computes each exported word's stack effect
|
||||||
from its compiled code, by static analysis of the F18 opcodes, and records it in the artifact. The
|
from its compiled code, by static analysis of the F18 opcodes, and records it in the artifact. The
|
||||||
proofs check it. Comments stay comments.
|
proofs check it. Comments stay comments.
|
||||||
- **Open within it (2c):** a word whose effect depends on its data (a loop, a branch that leaves
|
- **2c, ruled 2026-11-19: "Refused as an export".** A word whose effect depends on its data (a loop
|
||||||
different depths, `EXECUTE`) has no fixed count. What the tool records for such a word is a question
|
leaving a count of values, branches that leave different depths, `EXECUTE`, a `DEFER`red word) has no
|
||||||
of its own, asked again now that each capsule is a train.
|
fixed count. It cannot be exported by an engine: it stays internal to its train, or is restructured.
|
||||||
|
Every export has a fixed effect, which the tool derives and the build fails without.
|
||||||
3. **What a capsule carries:** an artifact alone, or the artifact and its source (provenance, ADR §3.1)?
|
3. **What a capsule carries:** an artifact alone, or the artifact and its source (provenance, ADR §3.1)?
|
||||||
4. **Imports by capsule hash:** a hash pins one exact build. Is an import of an older build of the same
|
4. **Imports by capsule hash:** a hash pins one exact build. Is an import of an older build of the same
|
||||||
capsule a mismatch, or is the name of the capsule enough with the stack effect checked?
|
capsule a mismatch, or is the name of the capsule enough with the stack effect checked?
|
||||||
|
|||||||
Reference in New Issue
Block a user