version 1.8, 2003/01/10 16:57:25
|
version 1.11, 2003/03/22 10:04:06
|
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 42
|
Line 42
|
vocabulary ans-report-words ans-report-words definitions |
vocabulary ans-report-words ans-report-words definitions |
|
|
: wordset ( "name" -- ) |
: wordset ( "name" -- ) |
lastxt >body |
latestxt >body |
create |
create |
0 , \ link to next wordset |
0 , \ link to next wordset |
0 0 2, \ array of nfas |
0 0 2, \ array of nfas |
( lastlinkp ) last @ swap ! \ set link ptr of last wordset |
( lastlinkp ) latest swap ! \ set link ptr of last wordset |
; |
; |
|
|
wordlist constant wordsets wordsets set-current |
wordlist constant wordsets wordsets set-current |
Line 138 ans-report-words definitions
|
Line 138 ans-report-words definitions
|
\ >body ! ; |
\ >body ! ; |
dup @ docol: <> -12 and throw \ for colon defs only |
dup @ docol: <> -12 and throw \ for colon defs only |
>body ['] branch xt>threaded over ! |
>body ['] branch xt>threaded over ! |
cell+ >r >body r@ - r> ! ; |
cell+ >r >body r> ! ; |
|
|
forth definitions |
forth definitions |
ans-report-words |
ans-report-words |