develooper Front page | perl.perl6.internals | Postings from October 2008

[perl #58974] [TODO][IMCC] replace .return in tailcall context by .tailcall

Thread Next
From:
Andrew Whitworth via RT
Date:
October 19, 2008 11:05
Subject:
[perl #58974] [TODO][IMCC] replace .return in tailcall context by .tailcall
Message ID:
rt-3.6.HEAD-29762-1224340834-1208.58974-15-0@perl.org
On Sat Oct 18 07:38:32 2008, Whiteknight wrote:
> > On Wed Sep 17 09:50:10 2008, kjs wrote:
> > > as suggested by Allison,
> > > .return in a tailcall context, like this:
> > > 
> > >  .return foo()
> > > 
> > > will changed into:
> > > 
> > >  .tailcall foo()
> 
> I've added ".tailcall" syntax to IMCC. It is supposed to be used instead
> of ".return" in tailcall context. Using ".return" for this is deprecated. 
> 
> I haven't tested yet, but i assume there are going to be a lot of uses
> of the old syntax throughout the repo that will need to be updated. Do
> any of our code generators like PCT use the old syntax? If so, how hard
> would it be to update them?
> 
> 

Forgot to post this reply to perl6-internals

-- 
Andrew Whitworth
a.k.a Whiteknight



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About