Re: new color

Mark Slicker <[email protected]>
Newsgroups gmane.comp.lang.forth.colorforth
Message-ID <[email protected]>
Adding a new color is not difficult. Adding a word which parses would be a 
bit clusmy in colorForth, besides colorForth has no character ' .

The effect of a magenta defined word, when executed is to return an 
address in source, orange would return the address of the defintion.

I'm not familer with the other 'defer', I copied this from Chuck. The 
name makes sense as is by the fact the execution of the rest of word is 
defered when 'defer' is executed.


On Wed, 1 Jun 2005, John Drake wrote:

> I'm a bit confused by the proposal.  Are you
> looking to do the same as the tick word is
> traditional Forth?
>
> ' foo ( put the address of foo on the stack).
>
> If so, then wouldn't re-introducing tick to
> ColorForth be easier than introducing a new
> color?  (Not sure what goes on to adding
> colors frankly.)
>
> Or is the color for defining words that
> return their address?  If so, isn't that
> what magenta words do?
>
> Also what is the "meaning" of the word "defer"?
> I realize that it's doing a "pop" but what is
> it accomplishing?  I'm used to "defer" in ANS
> Forth that's used to create a word that can
> be re-vectored later.  Is that what's going
> on here, or something else?
>
> Regards,
>
> John M. Drake
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.