Search the web
Sign In
New User? Sign Up
forth200x
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
CfV: One-time file loading   Message List  
Reply | Forward Message #49 of 425 |
Re: [forth200x] CfV: One-time file loading

Stephen Pelc wrote:
> > An ambiguous condition exists, if a marker is defined outside and executed
> > inside a file or vice versa, and the file is REQUIRED again.
>
> Given the discussion about "syntactic sugar", is this not also
> an ambiguous condition for INCLUDED

Not for INCLUDED alone, but yes, for a combination of INCLUDED and
REQUIRED. Unfortunately it is too late to change the wording for this
proposal, but I think the intended meaning can be read into the
present wording.

> > REQUIRE FILE-EXT ( i*x "name" -- i*x )
> >
> > Skip leading white space and parse name delimited by a white space
> > character. Push the address and length of the name on the stack and perform
> > the function of REQUIRED.
>
> Weasel word time! This forces the implementer to push the name
> on the stack,

No, the implementor just has to perform the behaviour that is visible
to a standard program. Whether REQUIRE first pushes the name and then
calls another word which pops it, or whether another mechanism is used
to achieve the overall functionality is not visible to a standard
program, and therefore the implementor can use either implementation
approach.

> whereas what I think you mean is to use name to
> perform the function of REQUIRED.

That's what I meant, and the wording above is the clearest I found to
express this meaning. Nobody suggested a better wording.

> > Should we also add a restriction that allows INCLUDED to allocate data space
> > after the interpretation of the included file ends?
>
> Yes. I can conceive of implementations that use linked lists of
> source management information and need a tail block to handle
> file nesting issues.

Unfortunately, it is too late to change the proposal now.

In any case, I don't think that conceivable implementation strategies
are a strong enough reason for complicating the proposal with another
restriction. There seem to be enough implementations around that
don't need this restriction, and show that this restriction is not
necessary to implement the proposal. New implementations of the
proposal should use one of the approaches that do not have this
restriction.

Thank you for your feedback. I am anxiously avaiting your vote.

- anton



Thu Feb 16, 2006 12:21 pm

anton@...
Send Email Send Email

Forward
Message #49 of 425 |
Expand Messages Author Sort by Date

This is a poll about how widely the proposal is implemented and how popular it is among the programmers. It is called a CfV (call-for-votes) because the...
Anton Ertl
anton@...
Send Email
Feb 12, 2006
6:55 pm

... Agreed. ... Agreed. ... Agreed. ... Given the discussion about "syntactic sugar", is this not also an ambiguous condition for INCLUDED and therefore this...
Stephen Pelc
sfprem
Offline Send Email
Feb 16, 2006
11:36 am

... Not for INCLUDED alone, but yes, for a combination of INCLUDED and REQUIRED. Unfortunately it is too late to change the wording for this proposal, but I...
Anton Ertl
anton@...
Send Email
Feb 16, 2006
12:25 pm

... VFX Forth (Win/Lin/DOS) ... Forth6 cross compilers ... Stephen -- Stephen Pelc, stephen@... MicroProcessor Engineering Ltd - More Real, Less Time ...
Stephen Pelc
sfprem
Offline Send Email
Feb 16, 2006
2:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help