Wed Apr 16 09:31:56 EDT 2008

multiple compilation paths + memoization

the reset/control is about implementing the forth compile loop without
side-effects, currently it uses a stack (push!). once that is done,
there should be a way to use extenisions to compile some sequences
multiple times, and pick the best one.

one of those is for/next. however, with nested loops, care should be
taken not to make the algorithm quadratic. i'm not sure whether
memoization is necessary: explicitly using 2-path execution might be
more interesting. in the 'test' loop before, this amounts to running
one compilation multiple times, one with code wrapped around the loop,
and pick the best one.