[perl #58558] Implement stubby exception generators in Rakudo

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Wed Sep 03 11:10:21 2008, masak wrote:
> Implement the '...', '???' and '!!!' operators, as described in S03:1691.

I've just done in r30980 the argumentless case of '...':

sub foo { ... }
my $x = foo(); say $x;
Attempt to execute stub code (...).

The argument version needs a bit more work as it needs the  rule
from STD.pm, and we can't do !!! and ??? in Rakudo yet because it ends
up getting parsed as three prefix:! or prefix:? by the operator
precedence parser. That probably waits on a hack (same one needed for ->
to work on RHS) or LTM, if I'm understanding what's going on correctly.

So, ticket should stay open while we do the rest, but this is the first
piece of the puzzle, and hopefully useful.

Thanks,

Jonathan


[perl #58558] Implement stubby exception generators in Rakudo

2008-09-03 Thread Carl Mäsak
# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #58558]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=58558 >


Implement the '...', '???' and '!!!' operators, as described in S03:1691.