version 1.10, 2003/08/25 14:17:45
|
version 1.11, 2003/12/02 21:33:18
|
Line 50 constant no-interpretation-does-code
|
Line 50 constant no-interpretation-does-code
|
cell+ cell+ maxaligned /does-handler + \ to does-code |
cell+ cell+ maxaligned /does-handler + \ to does-code |
swap @ does-code! ; |
swap @ does-code! ; |
|
|
: (interpretation>) ( -- ) |
: (interpretation>1) ( addr R:retaddr -- ) |
latestxt interpret/compile-int r@ fix-does-code ; |
latestxt interpret/compile-int swap fix-does-code ; |
|
|
: interpretation> ( compilation. -- orig colon-sys ) \ gforth |
: interpretation> ( compilation. -- orig colon-sys ) \ gforth |
POSTPONE (interpretation>) POSTPONE ahead |
here 4 cells + POSTPONE literal POSTPONE (interpretation>1) POSTPONE ahead |
dodoes, defstart dead-code off 0 set-locals-size-list ; immediate restrict |
dodoes, defstart dead-code off 0 set-locals-size-list ; immediate restrict |
|
|
: <interpretation ( compilation. orig colon-sys -- ) \ gforth |
: <interpretation ( compilation. orig colon-sys -- ) \ gforth |
?struc POSTPONE exit |
?struc POSTPONE exit |
POSTPONE then ; immediate restrict |
POSTPONE then ; immediate restrict |
|
|
: (compilation>) ( -- ) |
: (compilation>1) ( addr R:retaddr -- ) |
latestxt interpret/compile-comp r@ fix-does-code ; |
latestxt interpret/compile-comp swap fix-does-code ; |
|
|
: compilation> ( compilation. -- orig colon-sys ) \ gforth |
: compilation> ( compilation. -- orig colon-sys ) \ gforth |
POSTPONE (compilation>) POSTPONE ahead |
here 4 cells + POSTPONE literal POSTPONE (compilation>1) POSTPONE ahead |
dodoes, defstart dead-code off 0 set-locals-size-list POSTPONE >body ; immediate restrict |
dodoes, defstart dead-code off 0 set-locals-size-list POSTPONE >body ; immediate restrict |
|
|
comp' <interpretation drop |
comp' <interpretation drop |