--- gforth/look.fs 2002/09/14 10:59:31 1.17 +++ gforth/look.fs 2002/09/14 11:18:57 1.18 @@ -35,15 +35,18 @@ decimal \ rename to discover!!! +: xt>threaded ( xt -- x ) +\G produces the threaded-code cell for the primitive xt + threading-method 0= if + @ + then ; + : (look) ( xt startlfa -- lfa flag ) false swap BEGIN @ dup WHILE - dup name>int - threading-method 0= if - @ - then + dup name>int xt>threaded 3 pick = IF nip dup THEN