r30782 -[S02] typo fix

2010-05-25 Thread pugs-commits
Author: snarkyboojum Date: 2010-05-25 18:01:23 +0200 (Tue, 25 May 2010) New Revision: 30782 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] typo fix Modified: docs/Perl6/Spec/S02-bits.pod === --- docs/Perl6/Spec/S02-bits.pod

Re: Rakudo and non-ASCII character classes in rules

2010-05-25 Thread Patrick R. Michaud
On Tue, May 25, 2010 at 10:56:06AM +0200, Moritz Lenz wrote: > 10:53 <@moritz_> rakudo: say 'c' ~~ /<[\x03c0]>/ > 10:53 <+p6eval> rakudo 10a321: OUTPUT«c␤» > 10:55 <@moritz_> rakudo: say '0' ~~ /<[\x03c0]>/ > 10:55 <+p6eval> rakudo 10a321: OUTPUT«0␤» Actually, I don't think Rakudo understands \x n

Re: Rakudo and non-ASCII character classes in rules

2010-05-25 Thread Mark J. Reed
Note that per spec, \x w/o brackets should eat as many characters as look like hex digits. If that means the code point is outside the range of valid Unicode, then it should throw an error. On Tuesday, May 25, 2010, Moritz Lenz wrote: > > > Am 24.05.2010 08:40, schrieb Aaron Sherman: > > I came u

[perl #75316] 1...1..0 keeps Rakudo on 100% CPU usage

2010-05-25 Thread via RT
# New Ticket Created by Paweł Pabian # Please include the string: [perl #75316] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75316 > [18:32] rakudo: say 1...1..0 # this one kills Rakudo, should it be check for valid typ

[perl #75312] [BUG] Embedded comments don't work anymore in Rakudo

2010-05-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75312] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75312 > rakudo: sub foo(Str $x) #`{LOL IMA COMMENT} { ... } rakudo a4d326: OUTPUT«Unable to pa

[perl #75322] [BUG] eqv sometimes gets confused with empty lists

2010-05-25 Thread via RT
# New Ticket Created by David Green # Please include the string: [perl #75322] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75322 > "eqv" usually reports different things as different: say ((), "x", 9) eqv ((), 9, 9)

[perl #75234] [BUG] sub &prefix:<[~]> is being unexpectedly hidden by class definition.

2010-05-25 Thread jn...@jnthn.net via RT
On Thu May 20 22:07:16 2010, richardh wrote: > On its own, class B executes as expectedly: > > class B {method n { return [~] gather for ^4 {.say;take 'b'}}};my B > $x.=new; say $x.n > 0 > 1 > 2 > 3 > > > When another class using reduction ~ is in front of it, even if it is > not executed,

[perl #75298] [PATCH] added .fmt method to Iterator.pm so that fmt can take Iterators of any form.

2010-05-25 Thread via RT
# New Ticket Created by Shrivatsan # Please include the string: [perl #75298] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75298 > Hi, Attached the patch towards fixing the .fmt issue in Iterators. >my %hash={a=>1, b=>2

Re: Rakudo and non-ASCII character classes in rules

2010-05-25 Thread Moritz Lenz
Am 24.05.2010 08:40, schrieb Aaron Sherman: I came up with these tests which I though should work: ok("π" ~~ /<[π]>/, "π as a character class"); ok("π" ~~ /<[\x03c0]>/, "π as a character class (hex)"); ok("π" ~~ /<[\x0391 .. \x03c9]>/, "π in a character class range"); ok("π" ~~ /\w/, "π as a w

[perl #75342] [Bug] non-modifier form of 'if' within 'for' loop fails, while the modifier form works

2010-05-25 Thread via RT
# New Ticket Created by Prakash Kailasa # Please include the string: [perl #75342] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75342 > >> perl6 -v This compiler is built with the Parrot Compiler Toolkit, parrot revision

[perl #75320] Quoted >> raises false error about right-shift

2010-05-25 Thread via RT
# New Ticket Created by David Green # Please include the string: [perl #75320] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75320 > Use of ">>" in a double-quoted string gets incorrectly recognised as an attempt to use t

Re: Rakudo and non-ASCII character classes in rules

2010-05-25 Thread Aaron Sherman
On Mon, May 24, 2010 at 2:40 AM, Aaron Sherman wrote: > Which I tried to translate as: > >        token ucschar { >            <+[\xA0 .. \xD7FF] + [\xF900 .. \xFDCF] + [\xFDF0 .. \xFFEF] + >            [\x1 .. \x1FFFD] + [\x2 .. \x2FFFD] + >            [\x3 .. \x3FFFD] + [\x4 .. \

Rakudo and non-ASCII character classes in rules

2010-05-25 Thread Aaron Sherman
I came up with these tests which I though should work: ok("π" ~~ /<[π]>/, "π as a character class"); ok("π" ~~ /<[\x03c0]>/, "π as a character class (hex)"); ok("π" ~~ /<[\x0391 .. \x03c9]>/, "π in a character class range"); ok("π" ~~ /\w/, "π as a word character"); Of those, only the first one a

[perl #75302] Assignment to 'is copy' parameter which holds Whatever has no effect

2010-05-25 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #75302] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75302 > Can't clear a variable that holds *: 22:21 <@moritz_> rakudo: sub f($x is copy) { $x =

[perl #75296] [BUG] Named enums don't have an .enums method returning an EnumMap, but are themselves an EnumMap in Rakudo

2010-05-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75296] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75296 > we don't have real enum types yet? they're not up to spec, no. rakudo: enum A ; say A

[perl #75292] Exceptions make the REPL segfault

2010-05-25 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #75292] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75292 > Everything that produces an exception (doesn't matter if compile time or run time) makes