home .. forth .. colorforth mail list archive ..

[ColorForth] About ";;"


<snip>

> Dirk,
>
> ";;' is my explicit version of tail recursion. It converts the last call
> compiled to a jmp. It comes from 4word color forth which you can
> download

So it's not a Chuck Moore invention after all?
Ok. So, what do you think of my (mis)interpretation of
";;" as a compiler word that always jumps back to
the last defined word entry?

Adding tail-recursion optimization to a Forth is such a simplistic
and obviously beneficial thing, I'm not surprised that other people
have implemented such a thing, also.  What's particularly interesting
about Chuck's tail-recursion optimization is that it's built into
the interpreter, using intelligence from the state machine in its
core.  See Sean's Flux code for information.  It's simple and fast
and good.

<snip>

Dirk Heise
dheiseNOdebitelSPAMnet


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

------------------------

To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site   -   http://www.colorforth.com