William Coleda <[EMAIL PROTECTED]> wrote: > Is it sufficient to provide a mechanism for the compiler writers to indicate > that tail call should be used? For example, I have a few cases in tcl where I > have something like:
> ($I0,$P0) = interpret($P1) > .return($I0,$P0) > Where I'd be happy to have to write: > .return_tailcall(interpret($P1)) In that case it's easily detectable. The relevant logic is even implemented (imcc/pcc.c /TAIL_CALLS). Just the calling needs changes. leo