Re: Making tail calls/invoking continuations

2004-04-02 Thread Leopold Toetsch
Piers Cawley <[EMAIL PROTECTED]> wrote: > Is there any syntactic sugar in IMCC for making a tail call? No. > Right now, AFAICT, the trick is to do: >.pcc_begin >.arg Foo >.arg bar >.pcc_call sub, P1 # Or whatever the syntax is to get > # the current continuat

Making tail calls/invoking continuations

2004-04-02 Thread Piers Cawley
Is there any syntactic sugar in IMCC for making a tail call? Right now, AFAICT, the trick is to do: .pcc_begin .arg Foo .arg bar .pcc_call sub, P1 # Or whatever the syntax is to get # the current continuation .pcc_end But, looking at the PASM generated by pcc_4