Hi Wis,
> It may be a good practice to prefix any "cvariable" name with a
> mnemonic string (e.g., "c_") to help avoid the troublesome behavior
IIRC it is called Hungarian Notation. I'll add a link
to the wikipedia article to the recipe.
Matthias
Hi Enoch,
> In the best Forth tradition let this "autoscope" be initially a NOP and
> allow the programmer to introduce whatever naming scheme he/she desires
> via a subsequent IS.
A better place for such a hook would be (CREATE) (same asm file). And
the default should be the standard behaviour
Hi,
On 03/20/2013 11:29 PM, Enoch wrote:
> Hello AmForth-ers:
>
> Did any of you put "wordlists" into a good use?
yes. I use this to create a separate wordlist, which
is used to parse a special source code structure. I need
a special wordlist, because I need to *temporarily* "overload"
the meani
Hi,
> Recognizers would be the way to go, I think.
Thats an interesting point. Until now, recognizers
are not considered part of the *compiler*, but part
of the (outer) *interpreter*.
That means, they are used to find the proper meaning
of an *already defined* word, but they are not active
*duri
Matthias Trute writes:
> Hi Wis,
>
>> It may be a good practice to prefix any "cvariable" name with a
>> mnemonic string (e.g., "c_") to help avoid the troublesome behavior
>
> IIRC it is called Hungarian Notation. I'll add a link
> to the wikipedia article to the recipe.
But Leo Brodie is defin
Erich Waelde writes:
> Hi,
>
> On 03/20/2013 11:29 PM, Enoch wrote:
>> Hello AmForth-ers:
>>
>> Did any of you put "wordlists" into a good use?
>
> yes. I use this to create a separate wordlist, which
> is used to parse a special source code structure. I need
> a special wordlist, because I need
Hi.
What about mnemonic conventions like
.s .r .line ." xxx"
or
key? ?DO
and such? Don't we already use such "unwritten laws"?
Michael
Am 21.03.2013 um 21:24 schrieb Enoch:
> Matthias Trute writes:
>
>> Hi Wis,
>>
>>> It may be a good practice to prefix any "cvariable" name with
Hello Michael,
"Michael Kalus"
writes:
> What about mnemonic conventions like
>
>.s .r .line ." xxx"
>
> or
>
> key? ?DO
>
> and such? Don't we already use such "unwritten laws"?
Wis was talking about giving an appropriate name to what cvariable
*creates*. There is indeed the Hungarian