Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #36640

Re: Search order - why usually two times "Forth"?

From "Alex McDonald" <blog@rivadpm.com>
Newsgroups comp.lang.forth
Subject Re: Search order - why usually two times "Forth"?
Date 2015-02-17 18:43 +0000
Organization A noiseless patient Spider
Message-ID <mc023i$tee$1@dont-email.me> (permalink)
References <slrnme53rj.1qm.empty.buffersYOU-DONT-WANT-THIS@Ferrycy.localdomain> <EvWdnb9WUqIzG37JnZ2dnUU7-WudnZ2d@supernews.com>

Show all headers | View raw


on 17/02/2015 18:21:36, "Elizabeth D. Rather" wrote:
> On 2/16/15 2:46 PM, empty-buffers wrote:
>> I noticed usually ANS-compliant Forth implementations have doubled the first
>> position in "Search order", like this (Gforth as example):
>>
>>   order Forth Forth Root     Forth  ok
>>
>> 1. Why is that? In case of need the first position can always be duplicated
>>     with ALSO, therefore why it's doubled by default (well, not always, tbh)?
>>
>> 2. And does that mean, that in case the word isn't found, text interpreter
>>     will search "Forth" vocabulary for the second time, although this one
>>     just has been searched with no success?
>>
> 
> This question made me look up the Search Order wordset in Forth 200x
> (actually, Forth 200x Draft 12.1, which is the latest I have) and I
> noticed it had removed virtually all the rationale from Forth94 from
> this section. The question reinforces the fact that some rationale is
> needed here.
> 
> Cheers,
> Elizabeth
> 

The ANS version is longer, but it doesn't seem to add much except for a
historical perspective.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Search order - why usually two times "Forth"? empty-buffers <empty.buffersYOU-DONT-WANT-THIS@gmail.NEITHER-THIS.com> - 2015-02-17 00:46 +0000
  Re: Search order - why usually two times "Forth"? "Alex McDonald" <blog@rivadpm.com> - 2015-02-17 09:33 +0000
    Re: Search order - why usually two times "Forth"? empty-buffers <empty.buffersYOU-DONT-WANT-THIS@gmail.NEITHER-THIS.com> - 2015-02-17 10:08 +0000
    Re: Search order - why usually two times "Forth"? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-02-17 11:07 +0000
  Re: Search order - why usually two times "Forth"? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-02-17 12:54 +0000
    Re: Search order - why usually two times "Forth"? empty-buffers <empty.buffersYOU-DONT-WANT-THIS@gmail.NEITHER-THIS.com> - 2015-02-17 18:38 +0000
      Re: Search order - why usually two times "Forth"? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-02-18 11:31 +0000
        Re: Search order - why usually two times "Forth"? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-02-18 13:16 +0000
          Re: Search order - why usually two times "Forth"? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-02-18 14:00 +0000
            Re: Search order - why usually two times "Forth"? "Alex McDonald" <blog@rivadpm.com> - 2015-02-18 16:44 +0000
  Re: Search order - why usually two times "Forth"? november.nihal@gmail.com - 2015-02-17 07:13 -0800
  Re: Search order - why usually two times "Forth"? "Elizabeth D. Rather" <erather@forth.com> - 2015-02-17 08:21 -1000
    Re: Search order - why usually two times "Forth"? "Alex McDonald" <blog@rivadpm.com> - 2015-02-17 18:43 +0000
      Re: Search order - why usually two times "Forth"? "Elizabeth D. Rather" <erather@forth.com> - 2015-02-17 11:59 -1000
    Re: Search order - why usually two times "Forth"? hughaguilar96@gmail.com - 2015-02-17 18:30 -0800
      Re: Search order - why usually two times "Forth"? JennyB <jennybrien@googlemail.com> - 2015-02-18 04:01 -0800
        Re: Search order - why usually two times "Forth"? hughaguilar96@gmail.com - 2015-02-18 18:13 -0800
          Re: Search order - why usually two times "Forth"? "HAA" <someone@microsoft.com> - 2015-02-28 11:35 +1100
      Re: Search order - why usually two times "Forth"? "Alex McDonald" <blog@rivadpm.com> - 2015-02-18 12:34 +0000
    Re: Search order - why usually two times "Forth"? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-02-18 12:28 +0000
  Re: Search order - why usually two times "Forth"? jacko <jackokring@gmail.com> - 2015-02-18 08:49 -0800
    Re: Search order - why usually two times "Forth"? jacko <jackokring@gmail.com> - 2015-02-18 09:04 -0800
      Re: Search order - why usually two times "Forth"? jacko <jackokring@gmail.com> - 2015-02-18 10:17 -0800
        Re: Search order - why usually two times "Forth"? jacko <jackokring@gmail.com> - 2015-02-18 10:20 -0800

csiph-web