There's a detailed description of the origins of these in Chuck's
address "FORTH: The Last Ten Years ..." (FD V1N6. p72).
They all came from Forth Inc but mostly not Chuck. He needed help!
fig-Forth has <BUILDS...DOES> (and the associated implementation with
an extra cell that points to the threaded code behind DOES>).
Forth-79 standarizes CREATE...DOES>; and a popular implementation of
that is to trampoline through the place behind DOES> to the actual
code address. Where did that implementation and CREATE..DOES> in
general come from?
My guess is that it did not come from Forth, Inc.: At the time of
Forth-79 AFAIK Forth, Inc.'s Forths were miniForth and microForth.
And given that fig-Forth started out as a port of microForth to the
6502, I doubt that Forth, Inc. used CREATE..DOES>. Also, Forth,
Inc. ignored Forth-79 (IIRC Elizabeth Rather described it as
inconsistent or some other statement that she would not have made if
Forth, Inc. had actually accepted and implemented Forth-79).
At least dxf is very well versed in historic Forth developments.
Maybe he or somebody else can answer my question: Where did the >implementation described above and CREATE..DOES> in general come from?
- anton--
On 26/07/2024 5:13 pm, Anton Ertl wrote:
...
But CREATE...DOES> also made it into Forth-79, so it must have been
more widespread by then.
Not necessarily. What systems had 'multiple WHILE' before ANS introduced
it?
Brodie mentions it in 'Thinking FORTH' (1984) but without details or >endorsement by a Standard who would risk it?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 505 |
Nodes: | 16 (2 / 14) |
Uptime: | 34:36:51 |
Calls: | 9,913 |
Calls today: | 9 |
Files: | 13,799 |
Messages: | 6,346,552 |
Posted today: | 3 |