Walks a word's code, opcode by opcode with the engine's own counts, and gives what it takes and leaves on both stacks, or why it has none. Called and in-line words; recursion, computed jumps, paths that meet at different depths and loops that leave a count have none. Test first: 23 checks failed against a stub. SWAP', UM/MOD, C@, C! and ROUNDTRIP agree with their stack comments. On the nucleus: 214 of 315 headers fixed. v4 test, test-32 and ASan+UBSan pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
9 lines
305 B
Plaintext
9 lines
305 B
Plaintext
make: Entering directory '/home/user/LithosAnanke/v4'
|
|
[V4_CELL_BITS=64 run-64-test_effect.c]
|
|
v4 stack effects: V4_CELL_BITS=64
|
|
34 checks, 0 failures
|
|
[V4_CELL_BITS=32 run-32-test_effect.c]
|
|
v4 stack effects: V4_CELL_BITS=32
|
|
34 checks, 0 failures
|
|
make: Leaving directory '/home/user/LithosAnanke/v4'
|