Group: comp.lang.forth · Group Profile
Author: Guido DraheimGuido Draheim Date: Sep 10, 2008 19:53
Anton Ertl schrieb:
> This is the third RfD on this topic. The second one was in July
> 2007. You find the updated text further down.
>
> The main point of contention was about the prefix syntax. I solved it
> by removing the prefix stuff.
> [...]
>
> F" lib1/lib.fs" required
> F" data.txt" r/o open-file
> S\" ./funny\"filename" include-name-abs r/o open-file
>
Actually, I have implemented the prefix "./" recognition and
it was released along of PFE 33.69 (May 2008). Since many files
are found along a path of elements, the "./" serves a good value
of what the programmer intends to have - as a preference to the
current path prefix - yes, in some embedded platforms there is no
real "current directory" but it did happen that I was implementing
such a thing on those platforms. In a way I think of that prefix
resolution to be similar to ~userhome resolution syntax - just
pick up a value to make it into an absolute (i.e. canonic) path.
The userhome resolution did already exist in PFE for quite a time
so that I didn't mind to have just another prefix notation.
cheers, Guido
|