ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-internals
perl6-internals
[perl #23368] [PATCH] make P6C use CPS
by Allison Randal (via RT) other posts by this author
Aug 19 2003 4:26AM messages near this date
Re: What the heck is: timely destruction | Re: [perl #23368] [PATCH] make P6C use CPS
# New Ticket Created by  Allison Randal 
# Please include the string:  [perl #23368]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=23368 > 



This patch switches languages/perl6 over to using CPS. It isn't a
complete and final solution, just a step in the right direction. My goal
was to make the smallest number of code changes possible to get it to
work. 

Switching to the current calling conventions fixed 4 out of 5 failing
tests with calls to closures and rules (t/compiler/2.t 3-5, and
t/rx/basic.t 6). The remaining test (t/compiler/1.t 15) fails because
some architectures return "inf" instead of "Inf" when dividing by zero.
Eventually, division by zero should probably throw an exception, so I'm
ignoring this for now.

Allison


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/62986/46376/feb335/p6c_calling_conventions.patch


Attachments:
p6c_calling_conventions.patch

Thread:
Allison Randal (via RT)
Leopold Toetsch

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved