--- gforth/code.fs 1996/07/16 20:57:06 1.4 +++ gforth/code.fs 1996/09/10 16:08:36 1.6 @@ -29,20 +29,25 @@ vocabulary assembler ( -- ) \ tools-ext : code ( -- colon-sys ) \ tools-ext \ start a native code definition - header here >body cfa, defstart init-asm ; + header + threading-method + if + here >body cfa, + then + defstart init-asm ; : (;code) ( -- ) \ gforth \ execution semantics of @code{;code} r> lastxt code-address! ; +:noname ( -- colon-sys ) + align here lastxt code-address! + defstart init-asm ; :noname ( colon-sys1 -- colon-sys2 ) \ tools-ext semicolon-code ( create the [;code] part of a low level defining word ) ;-hook postpone (;code) ?struc postpone [ defstart init-asm ; -:noname ( -- colon-sys ) - align here lastxt code-address! - defstart init-asm ; -special: ;code +interpret/compile: ;code : end-code ( colon-sys -- ) \ gforth end_code ( end a code definition )