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 into the asm code I see that my current docreate.asm patch is
insufficient since the created word is actually linked to the selected
wordlist outside XT_DOCREATE.

It would save some code and would be cleaner programming to put the
equivalent to [.dw XT_GET_CURRENT, .dw XT_STOREE] inside XT_HERE except
for the XT_COLON / XT_SEMICOLON "smudge" issue.

Will have it done tomorrow.

> Here's a simple test case.
>
> ----------------------------------------------------------------------
>
> wordlist constant private
>
> : scope  ( c-addr u -- c-addr u wid )
>    over c@ [char] ~ =  if
>       private
>    else
>       get-current
>    then
> ;
>
> ' scope is wlscope

I hope that I managed to persuade some of you that auto wordlist
selection is a good thing ;-)

Regards, Enoch.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to