Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: Directories...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 20 of 20 Topic 3988 of 4053
Post > Topic >>

Re: Directories Redux

by Bruce McFarling <agila61@[EMAIL PROTECTED] > Apr 14, 2008 at 12:46 PM

On Apr 14, 11:35 am, m_l_g3 <m_l...@[EMAIL PROTECTED]
> wrote:
> Why do you require that the paths returned from [LIB-]ANCHODED
> are namely *absolute*?

Probably as a shorthand for what I mean ... standardese is not my
first language.

I mean that it is an unambiguous file reference to a specific file in
a specific file location, as understood by INCLUDED.

> IMO, it is enough to know that the file will be found in the right
> directory.

Yes, but the purpose of ANCHORED and LIB-ANCHORED is that the input
string refers to a file in a portable manner, and the output refers to
the file in the way that the implementation INCLUDED (etc.) can use
it.

> Anyway, a portable program will have no way to distunguish between
> absolute and relative (because it will not know under which OS, if
> any, it is running).

Yes, that's why it needs the implementation to export words to it that
translate from the portable file reference to the file reference used
in the system.

IOW, that's the reason for wanting the words ANCHORED and LIB-
ANCHORED ... because otherwise its not something that the portable
code can do for itself without a larger set of support words.

Imposing a single standard system for referring to a specific file in
a specific location for all Forth systems in all operating systems is
an impossible goal. Reserving a couple of word names for process of
translating from a portable format to the local format is not an
impossible goal.




 20 Posts in Topic:
Directories Redux
Bruce McFarling <agila  2008-04-05 19:00:00 
Re: Directories Redux
anton@[EMAIL PROTECTED]   2008-04-06 14:34:53 
Re: Directories Redux
Jonah Thomas <jethomas  2008-04-06 13:05:02 
Re: Directories Redux
Bruce McFarling <agila  2008-04-06 11:53:00 
Re: Directories Redux
Bruce McFarling <agila  2008-04-06 12:06:04 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-09 14:37:22 
Re: Directories Redux
anton@[EMAIL PROTECTED]   2008-04-10 19:06:56 
Re: Directories Redux
Bruce McFarling <agila  2008-04-09 15:21:11 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-09 16:16:00 
Re: Directories Redux
Bruce McFarling <agila  2008-04-09 22:08:00 
Re: Directories Redux
Bruce McFarling <agila  2008-04-10 19:39:57 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-11 04:43:45 
Re: Directories Redux
Bruce McFarling <agila  2008-04-11 09:28:57 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-11 10:49:13 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-11 11:19:53 
Re: Directories Redux
Bruce McFarling <agila  2008-04-11 20:34:02 
Re: Directories Redux
Bruce McFarling <agila  2008-04-12 07:18:01 
Re: Directories Redux
Bruce McFarling <agila  2008-04-12 10:56:41 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-14 08:35:17 
Re: Directories Redux
Bruce McFarling <agila  2008-04-14 12:46:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 7:18:12 CDT 2008.