... align here <builder-stuff> ['] MY-ACTION ACTOR: ; ... This technique can also be varied to not work with addresses, but directly with the data (where it is...
333
Stephen Pelc
sfprem
Jul 8, 2009 11:00 am
... The factoring of HEADER is actually more complex. In practise, as per FIG-Forth, you need doCreate, doColon and friends as well. With modern CPUs and...
332
Mitch Bradley
wmb@...
Jul 8, 2009 3:42 am
Here is my swag at the right way to do DOES>. I don't mean DOES> exactly, but rather the abstract thing that DOES> does. (How's that for an obtuse...
331
Elizabeth D Rather
erather
Jul 7, 2009 11:16 pm
... Yeah, right. Over the weekend one can not only read the text, but also memorize over 400 words with their definitions and stack effects. All without...
330
Hugh Aguilar
hughaguilar96
Jul 7, 2009 9:08 pm
As for whether words such as HEADER and NEXTNAME are "advanced" and appropriate for novices, or not, I would say that the question is moot because Forth...
329
Elizabeth D Rather
erather
Jul 7, 2009 5:18 pm
... The innovation you mention was the work of Dean Sanderson, at FORTH, Inc., in the early 80's. Thank you for pointing out that CREATE hasn't changed and...
328
georgeahubert
Jul 7, 2009 9:05 am
... CREATE always had to work with ;CODE anyway, so whoever thunk of using an assembler call instruction to locate the code (at least in ITC Forths) did us all...
327
georgeahubert
Jul 7, 2009 8:39 am
... I don't think either is particularly difficult to explain, though I doubt novices would be using them, since they are both advanced concepts which IMO...
326
jethomas3182
Jul 7, 2009 1:00 am
... I'm not clear quite what the problem here is. When do you want to get the name? If you want to get the name when the word executes, then why not put the...
325
Elizabeth D Rather
erather
Jul 6, 2009 11:59 pm
... How do you figure CREATE is "overloaded"? Cheers, Elizabeth -- ================================================== Elizabeth D. Rather (US & Canada)...
324
jethomas3182
Jul 6, 2009 11:53 pm
... OK. Overloading CREATE was a bad idea from the beginning, but it's too late to fix the problem now and most compiler-writers have adapted to handle it. One...
323
Hugh Aguilar
hughaguilar96
Jul 6, 2009 10:02 pm
________________________________ From: Bernd Paysan <bernd.paysan@...> To: forth200x@yahoogroups.com Sent: Sunday, July 5, 2009 5:12:10 AM Subject: Re:...
322
georgeahubert
Jul 5, 2009 12:35 pm
... Win32Forth also treats CREATEd words with no DOES> as literals ( and also objects, CONSTANTs and all types of variable ). The trick is CREATE sets the...
321
Anton Ertl
anton@...
Jul 5, 2009 12:16 pm
... I think that his approach here is ok. An RfD is a request for *discussion* after all. So if there are other solutions to the problem, they will hopefully...
320
georgeahubert
Jul 5, 2009 12:08 pm
... I would have said put them in a buffer and EVALUATE them would be better, though it's still kind of kludgy. ... It's trival to use GET-CURRENT if the word...
319
Bernd Paysan
berndpaysan
Jul 5, 2009 11:33 am
... I really think you should take Stephen's advice and look at other Forth systems before you propose something. Gforth e.g. already has a solution to your...
318
Hugh Aguilar
hughaguilar96
Jul 5, 2009 8:07 am
Author ... Hugh Aguilar Problem ... There is no good way to construct colon words from within other colon words. We can compile the code okay, but we can't...
317
Hugh Aguilar
hughaguilar96
Jul 5, 2009 8:04 am
Having a word perform two disparate functions is bad design. Everybody knows that! The well-known proverb is: "Let the dictionary do the deciding" (see the...
316
Jonah Thomas
jethomas3182
Jul 3, 2009 2:38 pm
This is long and philosophical, I intended it primarily for Hugh Aguilar and posted it here in case it amuses someone. It does not need careful attention as...
315
Bernd Paysan
berndpaysan
Jul 3, 2009 7:59 am
... Of course there is. bigForth and gforth-fast detect CREATE in COMPILE, and compile a literal when it's a CREATE without DOES>. VFX Forth does the same ...
314
Richard Borrell
rgb2forth
Jul 3, 2009 6:50 am
... Having spent years creating documentation for medical products I wholeheartedly agree with Elisabeth. The last thing the community needs is for Forth to...
313
stephen@...
sfprem
Jul 3, 2009 6:41 am
Posted by: "Hugh Aguilar" ... Rubbish. VFX treats children of CREATE as CONSTANTs. It can also optimise the DOES> clause such that when DOES> x + @ ; is the...
312
Elizabeth D Rather
erather
Jul 3, 2009 3:12 am
... This is why it was mandated that DOES> is only guaranteed to work with CREATE, not with other defining words. Operationally, FORTH, Inc. and most other...
311
Leon Wagner
leon_wagner
Jul 2, 2009 4:26 pm
... No, it is not okay. It appears that you have not been following the Forth200x process and have not read the current draft as your expectations seem to be...
310
Mitch Bradley
wmb@...
Jul 2, 2009 4:13 pm
... That expectation does not agree with my expectation at all....
309
Hugh Aguilar
hughaguilar96
Jul 2, 2009 4:00 pm
I apologize to Stephen Pelc for crediting him with the idea of introducing <BUILDS for use with DOES>, but also allowing CREATE to still be used in this manner...
308
stephen@...
sfprem
Jul 1, 2009 3:55 pm
... Stephen said no such thing! What I said was that <BUILDS ... DOES> may have some merit, but that Hugh has provided no numeric evidence for his assertions....
307
Richard Borrell
rgb2forth
Jul 1, 2009 8:21 am
It's not just the source code that is broken, it's the documentation too. Documentation that changes for life-critical applications has to be re-submitted -...
306
Bernd Paysan
berndpaysan
Jul 1, 2009 7:41 am
... No, this wouldn't have to be changed. The code with CREATE still works, it just has a little more overhead than the BUFFER: solution. You only have to ...
305
Elizabeth D Rather
erather
Jul 1, 2009 7:38 am
... In the first place, the word that Mitch and others are referring to is BUFFER: (it's been around since the 80's). It can coexist with CREATE ... No code...