[<<][staapl][>>][..]
Sun Jul 6 15:57:58 EDT 2014

factoring route

This doesn't work properly when compiled as a word:

macro    
: m0-route
    m0 rot>>4 8 - 7 and
    route ;
forth
     

Maybe it has something to do with the tail call stuff:

macro
: route
    _route              \ proper call
    end: ;              \ avoids optimization into tail call
forth
  
Ok I get it.  If route is followed by '.' it results in a tail call.



[Reply][About]
[<<][staapl][>>][..]