On Sat Jan 10 12:19:38 2009, richardh wrote:
> Getting a wierd segmentation fault with the following program (also
> attached).
>
> I am using rakudo from parrot 35286
> [...]
Try running the script using parrot directly instead of the "perl6"
binary, and let us know if you still see the segfault
> '(' ~ ')' 'a'* parses and does what I mean, but when I replace the last
> term with ['a'*] it fails to parse.
Looks like a bug in PGE's parser, I'll look into this in a day or so.
Thanks,
Pm
On Sat Jan 10 07:23:00 2009, pmichaud wrote:
> On Sat Jan 10 07:06:01 2009, masak wrote:
> > The following three correct Perl 6 modules give a runtime error in
> > Rakudo r35336.
> >
> > [...]
> > $ cat URI.pm
> > use v6;
> >
> > class URI;
>
>
> I'm not sure this is legal Perl 6. S11 says tha
On Sat Jan 10 10:14:44 2009, masak wrote:
> perl6: my @a = 1..8; sub foo(@a) { say +...@a; bar(@a) }; sub
> bar(@a) { say +...@a }; foo(@a)
> rakudo 35345: OUTPUT«81»
> ..pugs: OUTPUT«88»
> ..elf 24854: OUTPUT«11»
> * masak submits rakudobug
Now fixed in r35392:
$ ./parrot perl6.pbc
On Fri Jan 09 14:17:02 2009, masak wrote:
> rakudo: my Any $x .= new; say $x.values
> rakudo 35320: OUTPUT«Method '!flatten' not found for invocant
> of class 'Any' [...]
> * masak submits rakudobug
Now "fixed" in r35392, although I'm not sure what the correct behavior
should be.
$ ./parrot p
On Sat Jan 10 03:34:57 2009, masak wrote:
> rakudo: File.new
> rakudo 35336: OUTPUT«get_bool() not implemented in class
> 'File' [...]
> rakudo: say File.new
> rakudo 35336: OUTPUT«get_string() not implemented in class
> 'File' [...]
> rakudo: say File.new.WHAT
> rakudo 35336: OUTPUT«Method '
On Tue Aug 12 14:17:20 2008, masak wrote:
> r30188:
> $ ./perl6 -e 'class A { my $.x = 7; say $.x }' # segfaults
> Lexical 'self' not found
> [...]
> Segmentation fault
>
> Not sure if the error message from Pugs is right either. Should it be
> looking for 'self' at this stage? What should the pro
Now fixed in r35389:
$ ./parrot perl6.pbc
> my $x; say $x, 2
Use of uninitialized value
2
> my $x = undef; say $x, 2;
Use of uninitialized value
2
> my @a; @a[2] = 'b'; say @a;
Use of uninitialized value
Use of uninitialized value
b
> my @a; @a[2] = 'b'; say @a.perl;
[undef, undef, "b"]
>
We prob
On Sun, Jan 11, 2009 at 12:20 AM, Patrick R. Michaud wrote:
> On Sat, Jan 10, 2009 at 09:45:06AM -0800, Carl Mäsak wrote:
>> rakudo: " a b c".split(/ <.sp>+ /).perl.say
>> rakudo 35344: OUTPUT«["", "a", "b", "c"]»
>> oh, and the p5 behavior of trimming trailing fields is not in p6
>> (for
On Sat, Jan 10, 2009 at 09:45:06AM -0800, Carl Mäsak wrote:
> rakudo: " a b c".split(/ <.sp>+ /).perl.say
> rakudo 35344: OUTPUT«["", "a", "b", "c"]»
> oh, and the p5 behavior of trimming trailing fields is not in p6
> (for split)
> * masak submits rakudobug
This looks totally correct to m
On Thu, Jan 08, 2009 at 06:11:22AM -0800, Richard Hainsworth wrote:
: # New Ticket Created by Richard Hainsworth
: # Please include the string: [perl #62070]
: # in the subject line of all future correspondence about this issue.
: # http://rt.perl.org/rt3/Ticket/Display.html?id=62070 >
:
:
:
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62164]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62164 >
perl6: say "foo" ~~ ["foo", "bar"]
..rakudo 35339: OUTPUT«Non-dwimmy hyperoperator can
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62162]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62162 >
The following three correct Perl 6 modules give a runtime error in
Rakudo r35336.
$ cat
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62166]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62166 >
Rakudo r35341 no longer does input correctly.
$ perl6 -e 'my $foo = =$*IN'
Attempt to f
/ + / is what I thought it should be.
{ ... } is what rakudo current gives, which from the point of view of
runnable code and comprehensible output, are wrong.
Carl Mäsak via RT wrote:
Richard (>):
The output from .perl for a regex could be more useful than currently.
[...]
Perhaps,
R
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62170]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62170 >
rakudo: " a b c".split(/ <.sp>+ /).perl.say
rakudo 35344: OUTPUT«["", "a", "b", "c"
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62168]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62168 >
rakudo: " a b c".comb.perl.say
rakudo 35345: OUTPUT«too few arguments passed (1) - 4
Richard (>):
> The output from .perl for a regex could be more useful than currently.
>
> [...]
>
> Perhaps,
>
> Regex { + }
That does not seem to be legal Perl 6 to me. The idea of .perl is to
output runnable code, after all. How about this instead?
/ + /
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62156]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62156 >
rakudo: File.new
rakudo 35336: OUTPUT«get_bool() not implemented in class 'File' [...]
On Sat Jan 10 07:06:01 2009, masak wrote:
> The following three correct Perl 6 modules give a runtime error in
> Rakudo r35336.
>
> [...]
> $ cat URI.pm
> use v6;
>
> class URI;
I'm not sure this is legal Perl 6. S11 says that the "class Foo;" form
is only allowed as the first statement in the
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62148]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62148 >
rakudo: my Any $x .= new; say $x.values
rakudo 35320: OUTPUT«Method '!flatten' not fou
21 matches
Mail list logo