Groups | Search | Server Info | Login | Register
Groups > comp.lang.forth > #23708
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: TRAVERSE-WORDLIST |
| Date | 2013-06-17 17:05 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2013Jun17.190505@mips.complang.tuwien.ac.at> (permalink) |
| References | (4 earlier) <097aa98a-f890-4aa4-b97e-f75182cb4c40@q6g2000vbh.googlegroups.com> <857gi97q46.fsf@junk.nocrew.org> <327edcb6-30f7-4a6f-a7c3-48b7d1aa4fb3@qz2g2000pbb.googlegroups.com> <85txl0yl8m.fsf@junk.nocrew.org> <f99e6886-0aef-4946-856e-125dc256c51f@5g2000yqd.googlegroups.com> |
Alex McDonald <blog@rivadpm.com> writes:
>It was the last paragraph that causes the problem;
>
>"Invisible" or non-FINDable words can also be created by using the
>non-standard and system specific words such as HIDE or SMUDGE, or can
>be created but not FINDable until they are REVEALed. Whether these
>nodes are visited or not is undefined.
Hmm, ok, that paragraph should then be refined. I don't think that
TRAVERSE-WORDLIST should visit words that have been made invisible
(have not been made visible yet) through non-standard means (at least
I don't see a point in specifying that such words might be visited).
It may return words that have been shadowed by more recent definitions
of the same name; and the point of that is that in linked-list
implementations (and related ones, such as
hashing-with-external-chaining) TRAVERSE-WORDLIST would not know
whether a word is shadowed or not (and should not need to worry about
that).
By contrast, it's easy for TRAVERSE-WORDLIST to see whether a word is
SMUDGEd; and if it is hidden (i.e., not in the wordlist),
TRAVERSE-WORDLIST will not see it anyway.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2013: http://www.euroforth.org/ef13/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
TRAVERSE-WORDLIST (was Re: On the importance of standards) Alex McDonald <blog@rivadpm.com> - 2013-06-13 15:55 -0700
Re: TRAVERSE-WORDLIST Lars Brinkhoff <lars.spam@nocrew.org> - 2013-06-14 13:39 +0200
Re: TRAVERSE-WORDLIST Alex McDonald <blog@rivadpm.com> - 2013-06-14 09:06 -0700
Re: TRAVERSE-WORDLIST anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-06-17 17:05 +0000
Re: TRAVERSE-WORDLIST Alex McDonald <blog@rivadpm.com> - 2013-06-17 21:29 -0700
csiph-web