version 1.6, 2000/09/23 15:46:51
|
version 1.10, 2003/03/09 15:16:45
|
Line 1
|
Line 1
|
\ report words used from the various wordsets |
\ report words used from the various wordsets |
|
|
\ Copyright (C) 1996,1998,1999 Free Software Foundation, Inc. |
\ Copyright (C) 1996,1998,1999,2003 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 133 ans-report-words definitions
|
Line 133 ans-report-words definitions
|
: replace-word ( xt cfa -- ) |
: replace-word ( xt cfa -- ) |
\ replace word at cfa with xt. !! This is quite general-purpose |
\ replace word at cfa with xt. !! This is quite general-purpose |
\ and should migrate elsewhere. |
\ and should migrate elsewhere. |
dodefer: over code-address! |
\ the following no longer works with primitive-centric hybrid threading: |
>body ! ; |
\ dodefer: over code-address! |
|
\ >body ! ; |
|
dup @ docol: <> -12 and throw \ for colon defs only |
|
>body ['] branch xt>threaded over ! |
|
cell+ >r >body r> ! ; |
|
|
forth definitions |
forth definitions |
ans-report-words |
ans-report-words |