version 1.14, 2006/12/17 15:38:26
|
version 1.17, 2007/12/31 18:40:23
|
Line 1
|
Line 1
|
\ report words used from the various wordsets |
\ report words used from the various wordsets |
|
|
\ Copyright (C) 1996,1998,1999,2003,2005 Free Software Foundation, Inc. |
\ Copyright (C) 1996,1998,1999,2003,2005,2006 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
\ Gforth is free software; you can redistribute it and/or |
\ Gforth is free software; you can redistribute it and/or |
\ modify it under the terms of the GNU General Public License |
\ modify it under the terms of the GNU General Public License |
\ as published by the Free Software Foundation; either version 2 |
\ as published by the Free Software Foundation, either version 3 |
\ of the License, or (at your option) any later version. |
\ of the License, or (at your option) any later version. |
|
|
\ This program is distributed in the hope that it will be useful, |
\ This program is distributed in the hope that it will be useful, |
Line 15
|
Line 15
|
\ GNU General Public License for more details. |
\ GNU General Public License for more details. |
|
|
\ You should have received a copy of the GNU General Public License |
\ You should have received a copy of the GNU General Public License |
\ along with this program; if not, write to the Free Software |
\ along with this program. If not, see http://www.gnu.org/licenses/. |
\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
|
|
|
|
|
\ Use this program like this: |
\ Use this program like this: |
Line 74 wordset STRING
|
Line 73 wordset STRING
|
wordset TOOLS |
wordset TOOLS |
wordset TOOLS-EXT |
wordset TOOLS-EXT |
wordset TOOLS-EXT-obsolescent |
wordset TOOLS-EXT-obsolescent |
|
|
|
\ www.forth200x.org CfV extension names |
|
wordset X:deferred |
|
wordset X:extension-query |
|
wordset X:parse-name |
|
wordset X:defined |
|
wordset X:required |
|
wordset X:ekeys |
|
wordset X:fp-stack |
|
|
wordset non-ANS |
wordset non-ANS |
|
|
ans-report-words definitions |
ans-report-words definitions |
|
|
: answord ( "name wordset pronounciation" -- ) |
: standardword { D: wordname D: wordset -- } |
\ check the documentaion of an ans word |
|
name { D: wordname } |
|
name { D: wordset } |
|
name { D: pronounciation } |
|
wordname find-name |
wordname find-name |
?dup-if |
?dup-if |
sp@ cell nextname create drop |
sp@ cell nextname create drop |
wordset wordsets search-wordlist 0= abort" wordlist unknown" , |
wordset wordsets search-wordlist 0= abort" wordset unknown" , |
endif ; |
endif ; |
|
|
|
: answord ( "name wordset pronounciation" -- ) |
|
\ check the documentation of an ans word |
|
parse-name parse-name parse-name 2drop standardword ; |
|
|
|
: xword ( "name wordset" ) |
|
parse-name parse-name standardword ; |
|
|
table constant answords answords set-current |
table constant answords answords set-current |
warnings @ warnings off |
warnings @ warnings off |
include ./answords.fs |
include ./answords.fs |
|
include ./xwords.fs |
warnings ! |
warnings ! |
ans-report-words definitions |
ans-report-words definitions |
|
|