Re: [Amforth] wordlist scope

2013-03-31 Thread Enoch
Hello Matthias, Having given further thought to r1404 and your recent comments I think that we need to revert to the wlscope former interface to utilize this new mechanism to its fullest. Example follows and here's the kernel patch: http://pastebin.com/aSWRMU3V Regards, Enoch. \ wlscope, "wordli

Re: [Amforth] wordlist scope

2013-03-30 Thread Matthias Trute
Hi Enoch, > Good, did svn update deciding conflicts in your favor :-) ;) > Regarding the behind the scenes cleanup, do you allow merging of > XT_HEADER into XT_DOCREATE ? No. HEADER is useful for other things too. I think more of something like CREATE -> SCOPE -> HEADER -> . something complet

Re: [Amforth] wordlist scope

2013-03-30 Thread Enoch
Enoch writes: > Matthias Trute writes: >> I just applied your patch with my modification for the >> the stack effect of the scope word. My second remark >> would not change that (user visible) interface so I think >> we can now play with the idea and can clean up the >> code behind the scenes wi

Re: [Amforth] wordlist scope

2013-03-29 Thread Enoch
Matthias Trute writes: > I just applied your patch with my modification for the > the stack effect of the scope word. My second remark > would not change that (user visible) interface so I think > we can now play with the idea and can clean up the > code behind the scenes with less pressure ;) He

Re: [Amforth] wordlist scope

2013-03-29 Thread Matthias Trute
Hi Enoch, I just applied your patch with my modification for the the stack effect of the scope word. My second remark would not change that (user visible) interface so I think we can now play with the idea and can clean up the code behind the scenes with less pressure ;) Matthias ---

Re: [Amforth] wordlist scope

2013-03-29 Thread Enoch
Hello Matthias, Matthias Trute writes: > Hi Enoch, > >> > Only one remark so far. > > And now my second one. Its more a vague > idea, not a streamlined chain of reason including > a smart solution. Sorry. > > It is related to the way, the > newly created word list entry is linked into it. > HE

Re: [Amforth] wordlist scope

2013-03-28 Thread Matthias Trute
Hi Enoch, > > Only one remark so far. And now my second one. Its more a vague idea, not a streamlined chain of reason including a smart solution. Sorry. It is related to the way, the newly created word list entry is linked into it. HEADER gets the WID for which the new word is created. The sam

Re: [Amforth] wordlist scope

2013-03-27 Thread Enoch
Matthias Trute writes: > Hi Enoch, > > Only one remark so far. > > You defined the scope stack effect as ( addr len -- addr len wid ) > Usually forth follows the conecpt, that a word consumes its parameters > to generate the new data. I'd prefer to keep this idea as the general > design pattern.

Re: [Amforth] wordlist scope

2013-03-27 Thread Matthias Trute
Hi Enoch, Only one remark so far. You defined the scope stack effect as ( addr len -- addr len wid ) Usually forth follows the conecpt, that a word consumes its parameters to generate the new data. I'd prefer to keep this idea as the general design pattern. That changes scope to the stack effect

Re: [Amforth] wordlist scope

2013-03-27 Thread Enoch
Matthias Trute writes: > Hi Enoch, > > looks fine > > GIve me some more days to think about it (Im currently > busy with other things) I find the sequence "(create) !e" > sligthly strange. Your smudge change from an simple > XT to WID-XT makes sense. > > Matthias Hello Matthias, I look forwa

Re: [Amforth] wordlist scope

2013-03-25 Thread Matthias Trute
Hi Enoch, looks fine GIve me some more days to think about it (Im currently busy with other things) I find the sequence "(create) !e" sligthly strange. Your smudge change from an simple XT to WID-XT makes sense. Matthias > Hello Matthias & All: > > wlscope, "wordlist scope", is a deferred w

[Amforth] wordlist scope

2013-03-24 Thread Enoch
Hello Matthias & All: wlscope, "wordlist scope", is a deferred word which enables AmForth appl to choose the wordlist for a new voc entry based on its name. For example, put all created words whose name begins with a tilde (~) on a private wordlist. The default action is get-current. Please find