Talk About Network

Google


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 Mac > Re: Third draft...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 17 Topic 129 of 161
Post > Topic >>

Re: Third draft of Structures

by "Charles Melice" <cm@[EMAIL PROTECTED] > Oct 3, 2006 at 04:25 PM

"Stephen Pelc" <stephenXXX@[EMAIL PROTECTED]
> a écrit dans le message de 
news: 44f56147.152012312@[EMAIL PROTECTED]
> This the best compromise I can get to, taking into account all
> contributions so far. The compromises in this draft take into
> account name conflicts, stack effect conflicts, alignment and
> fat/thin implementations.
>
> Stephen
>
>
> RfD: Structures - Version 3
> 30 August 2006, Stephen Pelc
>
[snip]

I hope that the text which follows will be interpreted only as a
material for reflection.

    STRUCT POINT   \ -- len
      1 CELLS FIELD: P.X
      1 CELLS FIELD: P.Y
    END-STRUCT

It seems to me that this construction is purely lexicographical and is
filled with ambiguities.

Indeed, there is no relation between P.X and P.Y. They are not fields, 
they
are independent offsets.

STRUCT is CONSTANT. POINT is not a STRUCT, it is a constant.
FIELD: is an OFFSET, not a field.
END-STRUCT don't terminates a STRUCT.

Finally, the only word which could possibly enter the standard would
be "OFFSET:".

    0
    1 CELLS OFFSET: P.X
    1 CELLS OFFSET: P.X
    CONSTANT POINT

Roughly, the word STRUCT in Forth cannot exist: Forth does not possess 
at
present structures, except for the (refused) versions which parses.

This ends the reflection which I submit.

Charles
 




 17 Posts in Topic:
RfD: Third draft of Structures
stephenXXX@[EMAIL PROTECT  2006-08-30 10:03:23 
Re: RfD: Third draft of Structures
anton@[EMAIL PROTECTED]   2006-09-02 16:25:43 
Re: Third draft of Structures
"Charles Melice"  2006-10-03 16:25:26 
Re: Third draft of Structures
"jacko" <jac  2006-10-03 15:23:33 
Re: Third draft of Structures
"Charles Melice"  2006-10-04 14:23:36 
Naming of Standard words
"Ed" <nospam  2006-10-05 12:34:42 
Re: Naming of Standard words
"Charles Melice"  2006-10-05 11:29:08 
Re: Third draft of Structures
"jacko" <jac  2006-10-03 15:32:49 
Re: Naming of Standard words
"slava@[EMAIL PROTEC  2006-10-04 20:32:28 
Re: Naming of Standard words
ward@[EMAIL PROTECTED] (  2006-10-05 07:01:33 
Re: Naming of Standard words
"J Thomas" <  2006-10-05 05:13:43 
Re: Naming of Standard words
"slava@[EMAIL PROTEC  2006-10-05 10:45:16 
Re: Naming of Standard words
Elizabeth D Rather <er  2006-10-05 12:19:50 
Re: Third draft of Structures
"Ian Osgood" &l  2006-10-20 07:19:16 
Re: Third draft of Structures
Bernd Paysan <bernd.pa  2006-10-20 18:18:21 
Re: Third draft of Structures
"Ed" <nospam  2006-10-23 15:10:40 
Re: Third draft of Structures
"Tim Trussell"   2006-10-23 08:19:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 13:56:16 CST 2008.