| default-ss s state-sss i th ! |
default-ss s state-sss i th ! |
| loop ; |
loop ; |
| |
|
| |
: .state ( state -- ) |
| |
0 >body - >name .name ; |
| |
|
| : set-ss ( ss stack state -- ) |
: set-ss ( ss stack state -- ) |
| state-sss swap stack-number @ th ! ; |
state-sss swap stack-number @ th ! ; |
| |
|
| ." LABEL(" prim prim-c-name 2@ type ." )" ; |
." LABEL(" prim prim-c-name 2@ type ." )" ; |
| |
|
| : output-c ( -- ) |
: output-c ( -- ) |
| print-entry ." /* " prim prim-name 2@ type ." ( " prim prim-stack-string 2@ type ." ) */" cr |
print-entry ." /* " prim prim-name 2@ type |
| |
." ( " prim prim-stack-string 2@ type ." ) " |
| |
state-in .state ." -- " state-out .state ." */" cr |
| ." /* " prim prim-doc 2@ type ." */" cr |
." /* " prim prim-doc 2@ type ." */" cr |
| ." NAME(" quote prim prim-name 2@ type quote ." )" cr \ debugging |
." NAME(" quote prim prim-name 2@ type quote ." )" cr \ debugging |
| ." {" cr |
." {" cr |