RfD - Enhanced local variable syntax ==================================== Stephen Pelc - 20 August 2006 Problem ======= 1) The current LOCALS| ... | notation...
Works For Me (TM). That's basically the same syntax that I used in my first Forth local variable implementation, circa 1985. The mills of Forth grind slowly,...
Mitch Bradley
wmb@...
Aug 21, 2006 9:34 am
99
ThrowIors.txt Stephen Pelc, 21 August 2006 Rationale ========= Problem ... Error codes returned by some words, e.g. ALLOCATE are not specified, and an...
RfD - S\" and quoted strings with escapes 21 August 2006, Stephen Pelc 20060821 First draft Rationale ========= Problem ... The word S" 6.1.2165 is the primary...
RfD - Synonyms Synonym.txt Stephen Pelc, 21 August 2006 20060821 First draft Rationale ========= Problem ... Various words have been used to gneration a new...
RfD - Structures 21 August 2006, Stephen Pelc 20060821 First draft Rationale ========= Problem ... Virtually all serious Forth systems provide a means of...
a) It would be more Forth-like (simpler implementation, no backpatching, easier to make anonymous structures) if the structure name were defined at the end....
Mitch Bradley
wmb@...
Aug 21, 2006 7:58 pm
105
... I SECOND THAT ONE. Stephen seems to have a preference for more complex and (forth-wise) less elegant solutions. The same thing with AKA and SYNONYM. AKA is...
Hans Bezemer
hansoft@...
Aug 21, 2006 10:17 pm
106
... I'm sure you didn't intend any disrespect, but I think it's better if we avoid even the appearance of "ad hominem" arguments. For the record, Stephen has...
Mitch Bradley
wmb@...
Aug 21, 2006 10:43 pm
107
... I have a flame-proof suit which I put on before reading responses to proposals. So far, the consensus on structures is: BEGIN-STRUCT <size> FIELD POO ...
... First of all I'd like to stress that I have the utmost respect for Stephen and not only because his book was able to learn even me a trick or two. It was...
Hans Bezemer
hansoft@...
Aug 22, 2006 11:44 am
109
ANS Forth says that provision of source code is enough to be compliant. In 2006 should provision of a web link be enough? I suggest yes. If so, what impact...
I've had another go at structures, making the assumption that the "name-first" and "name-last" camps can't agree and must coexist somehow. IMHO if we cannot...
Stephen, I largely support your second attempt. I'm afraid there are already so many implementations (that is also the reason why OO extensions failed) that...
Hans Bezemer
hansoft@...
Aug 22, 2006 5:35 pm
112
I don't have strong feelings about the spelling (as long as no underscores). I have a slight preference for (a) below, as it's clear and uncluttered. The names...
Mitch Bradley
wmb@...
Aug 22, 2006 6:03 pm
113
... Seconded. The struct/field/end-struct from gForth were inspired by OF, anyway. Another point: If you need to expand a structure later, don't start with...
... They confict with the PFW and VFX word names and others. ... SYNONYM can easily be implemented for cross compilers, and the implementation cost on your...
... Well, obviously we will break some code here or there. There are some areas where ANS-Forth is lacking, otherwise we wouldn't have this discussion. So, ...
Hans Bezemer
hansoft@...
Aug 22, 2006 9:27 pm
116
... IMO provided instructions on how to acquire the code and include it are provided (including acquision of any auxillary programs neeeded) are clearly stated...
... What would be the effect of SYNONYM FOO BLAH IMMEDIATE where BLAH isn't an immediate word i.e. does BLAH also become immediate as well as FOO or just FOO....
The current standings on the CfV: "Separate FP Stack" are: Systems [ ] conforms to ANS Forth. Mops/PowerMops (Mike Hore) ForthCAD (Charles Melice) iForth...
Anton Ertl
anton@...
Aug 23, 2006 5:08 pm
119
Systems [ ] conforms to ANS Forth. iForth Gforth [ ] already implements the proposal in full since release [ ]: [ ] implements the proposal in full in a...
Anton Ertl
anton@...
Aug 23, 2006 5:11 pm
120
Hans wrote ... Great! We're getting there ... Name conflicts with other systems, some of which I have a vested interest in :-; Past experience shows that name...
... Does anyone have an objection to making this an ambiguous condition? My reasons are twofold: a) IMMEDIATE is a modifier which affects a definition that ...
... We don't need a standard for that. If the implementors choose, the programmers cannot rely on any of the being present. ... In particular, there is no...
Anton Ertl
anton@...
Aug 26, 2006 1:21 pm
123
... No, old code can still use the old structures stuff unless there is a naming conflict. ... No, you can just continue to use the Gforth-compatible structure...
Anton Ertl
anton@...
Aug 26, 2006 1:32 pm
124
... There is no such thing in standard C. I guess this is something that some embedded system C compilers are doing, and that they do away with alignment...
Anton Ertl
anton@...
Aug 26, 2006 1:56 pm
125
... FOO would now have a compilation semantics that is the same as its interpretation semantics. ... Then the implementor should choose a strategy that behaves...
Anton Ertl
anton@...
Aug 26, 2006 2:24 pm
126
... I stand corrected. I guess I'm overly compliant where new standards are concerned. Hans Bezemer -- ================ "First make it work, then improve it." ...