Re: [Amforth] wordlists empowered

2013-03-23 Thread Enoch
Hello Matthias & All, Just in case someone is interested in my kernel patching exercise for automatic wordlist selection :-) > I prepared a kernel patch, it's very simple, but ain't working, for some > stupid reason, I guess :) > The kernel patch is here: http://pastebin.com/8MShMtn4 Delving int

Re: [Amforth] wordlists empowered

2013-03-22 Thread Enoch
Hello Matthias & All: Matthias Trute writes: > 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 as

Re: [Amforth] wordlists empowered

2013-03-21 Thread Enoch
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

Re: [Amforth] wordlists empowered

2013-03-21 Thread Matthias Trute
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

Re: [Amforth] wordlists empowered

2013-03-21 Thread Erich Waelde
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

Re: [Amforth] wordlists empowered

2013-03-21 Thread Matthias Trute
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

[Amforth] wordlists empowered

2013-03-20 Thread Enoch
Hello AmForth-ers: Did any of you put "wordlists" into a good use? I suspect the answer is no for a simple reason. To use it, say, to create a private "scope" ("namespace") of words / variables / constants one needs to wrap each dictionary entry with calls to get-current, get-order, set-current,