home .. forth .. colorforth mail list archive ..

Re: [colorforth] new color


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


--- Mark Slicker <maslicke@xxxxxxxxxxx> wrote:

> I propose a new color 'orange', which when used will
> return the address 
> which corresponds with the name of the word used in
> orange.
> 
> Instead of:
> 
> : defer pop ;
> : word defer ... ; word
> 
> use:
> 
> : word ... ; 'word
> 
> If you want some context for this proposal, here[1]
> is a version of 
> 'accept' I did, which could benefit from this
> proposal. On the other 
> hand, maybe there is better way to program 'accept',
> in either case I'm 
> interested in your input.
> 
> Thanks,
> Mark
> 
> [1]
>
http://personalwebs.oakland.edu/~maslicke/colorforth/accept/



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com