Re: [colorforth] merging dictionaries
- Subject: Re: [colorforth] merging dictionaries
- From: Mark Slicker <maslicke@xxxxxxxxxxx>
- Date: Sun, 15 Jun 2003 23:54:10 -0400 (EDT)
The way I had it, macros were searched for by adding a one to the name.
But this is interesting new direction to treat names the same in the same
dictionary. One thing that occurs to me, is how would you distinguish
between for example the 'dup' that is executed and the 'dup' which
compiles instructions? Maybe the programing style would need to be
altered.
On Fri, 13 Jun 2003, Chuck Moore wrote:
> That's a nice idea. It might address a problem I've recently stumbled over.
>
> If you define a Forth word with the same name as a Macro, you'll always find
> the Macro version. Since the Macro dictionary is searched first.
>
> With words in the same dictionary, you'd find the latest definition, as
> expected.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
> Main web page - http://www.colorforth.com
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com