[perl #67890] [PATCH] Two patches for the Perl6 compiler

2010-07-28 Thread Will Coleda via RT
Sorry, probably not anymore. I'm making an effort to go through the queue and keep things up to date, hopefully new patches won't languish like this one. Thanks for the patch, and please try out Rakudo * tomorrow. On Wed Jul 28 17:17:34 2010, r...@hoelz.ro wrote: > I submitted these patches ov

Re: [perl #67890] [PATCH] Two patches for the Perl6 compiler

2010-07-28 Thread Rob Hoelz
I submitted these patches over a year ago...are they even relevant anymore? On Tue, 27 Jul 2010 18:51:12 -0700 "Will Coleda via RT" wrote: > On Sat Jul 25 17:20:40 2009, hoelzro wrote: > > See the patches' summaries for details. > > Sorry for the delay in responding, but these patches no longer

Re: [perl #76626] [PATCH] Generate plaintext README from README.pod

2010-07-28 Thread Jan Ingvoldstad
On Wed, Jul 28, 2010 at 19:09, Will Coleda wrote: > On Wed, Jul 28, 2010 at 12:48 PM, Patrick R. Michaud > wrote: > > > I said a bit more about it as well: I think we should just eliminate > > the pod from the README file altogether, and leave it as plain text. > Ah, well, since that was what

[perl #70826] [BUG] The PIR file isn't correctly generated if the precompilation emits a warning in Rakudo

2010-07-28 Thread Will Coleda via RT
On Wed Nov 25 15:16:33 2009, masak wrote: > $ cat test.p6 > my $var; > my $var > > $ perl6 --target=pir --output=test.pir test.p6 > Redeclaration of variable $var > > $ cat test.pir > 1 > > $ perl6 --target=past test.p6 > Redeclaration of variable $var > "past" => 1 > > masak pasted "jnthn: ev

[perl #68984] problems with pir generated by rakudo

2010-07-28 Thread Will Coleda via RT
On Fri Sep 04 00:06:21 2009, equinox wrote: > Hi, > > I converted this into pir...using rakudo-2009-07. > > my $p=0; > my $str=" a a b "; > > while (substr($str,$p)~~/(a)|(b)/) #~~ is instread of =~ > { > print "match found at $p>>{$0 // "not found"}<< or >>{$2 // "not > found"}<<\n"; #

[perl #75828] [BUG] Rakudo does not print error message about stub code

2010-07-28 Thread Will Coleda via RT
On Thu Jun 17 05:47:40 2010, q...@cono.org.ua wrote: > 15:37 <@jnthn> rakudo: ("62.76.96.200", "62.76.96.201", "62.76.96.202" > ... "62.76.96.223").perl.say > 15:37 <+p6eval> rakudo cb0e95: OUTPUT«("62.76.96.200", "62.76.96.201", > "62.76.96.202")␤» > 15:37 <@jnthn> rakudo: ("62.76.96.200", "62.76.

[perl #75828] [BUG] Rakudo does not print error message about stub code

2010-07-28 Thread Will Coleda via RT
On Thu Jun 17 05:47:40 2010, q...@cono.org.ua wrote: > 15:37 <@jnthn> rakudo: ("62.76.96.200", "62.76.96.201", "62.76.96.202" > ... "62.76.96.223").perl.say > 15:37 <+p6eval> rakudo cb0e95: OUTPUT«("62.76.96.200", "62.76.96.201", > "62.76.96.202")␤» > 15:37 <@jnthn> rakudo: ("62.76.96.200", "62.76.

[perl #69412] $*OUT.&printf not correctly declared

2010-07-28 Thread Will Coleda via RT
On Sat Sep 26 10:56:40 2009, dolmen wrote: > Evaluation of $*OUT.&printf does not gives a result consistent with > $*OUT.&say > > rakudo: say $*OUT.&printf.WHAT; > rakudo e33d20: OUTPUT«elements() not implemented in class > 'Sub'␤in Main (/tmp/iPwK5u8ApO:0)␤» > > rakudo: say $*OUT.&say.WHAT; >

[perl #69412] $*OUT.&printf not correctly declared

2010-07-28 Thread Will Coleda via RT
On Sat Sep 26 10:56:40 2009, dolmen wrote: > Evaluation of $*OUT.&printf does not gives a result consistent with > $*OUT.&say > > rakudo: say $*OUT.&printf.WHAT; > rakudo e33d20: OUTPUT«elements() not implemented in class > 'Sub'␤in Main (/tmp/iPwK5u8ApO:0)␤» > > rakudo: say $*OUT.&say.WHAT; >

Re: [perl #76626] [PATCH] Generate plaintext README from README.pod

2010-07-28 Thread Will Coleda
On Wed, Jul 28, 2010 at 12:48 PM, Patrick R. Michaud wrote: > On Mon, Jul 26, 2010 at 08:11:40PM +0200, Jan Ingvoldstad wrote: >> On Sat, 24 Jul 2010 10:29:42 -0700, "Moritz Lenz via RT" >> said: >> >> > Thank you for your patch. >> > I know I promised to apply it, but pmichaud++, our pumpking,

[perl #76772] [PATCH] IO::Stat for Rakudo

2010-07-28 Thread via RT
# New Ticket Created by Tadeusz Sośnierz # Please include the string: [perl #76772] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76772 > Here's a patch adding an interface to Parrot's stat Opcode in Rakudo. I've consulted

Re: [perl #75752] [PATCH] make realclean before svn update (parrot)

2010-07-28 Thread Alex Varyanick
On Wed, Jul 28, 2010 at 4:58 AM, Will Coleda via RT wrote: > > +1 on this patch (at least in spirit) from me, but I cannot apply it > (probably because it was > inlined in the ticket.) Can you add it as an attachment? > > Thanks! in attachment -- Varyanick I. Alex icq: 102 575 440 skype: cono.

[perl #71362] [BUG] Parrot string indexing semantics leaks through when accessing $1 et al. when $/ contains a Str in Rakudo

2010-07-28 Thread Patrick R. Michaud via RT
> new error: > > > my $a = 'abc'; say $a[1]; > ===SORRY!=== > .[1] out of range for type Str() > I believe this is the correct behavior per the specification. Pm

[perl #73888] [BUG] %*VM doesn't work anymore in Rakudo

2010-07-28 Thread Will Coleda via RT
On Wed Jul 28 09:46:16 2010, pmichaud wrote: > The spec changed to use $*VM, and Rakudo now implements that. > > > say $*VM > /home/pmichaud/rakudo/parrot_install/bin > > > > Pm Looks like t/spec has not yet caught up - leaving with moritz++ for spectests. -- Will "Coke" Coleda

Re: [perl #76626] [PATCH] Generate plaintext README from README.pod

2010-07-28 Thread Patrick R. Michaud
On Mon, Jul 26, 2010 at 08:11:40PM +0200, Jan Ingvoldstad wrote: > On Sat, 24 Jul 2010 10:29:42 -0700, "Moritz Lenz via RT" > said: > > > Thank you for your patch. > > I know I promised to apply it, but pmichaud++, our pumpking, spoke out > > against it, indicating that having now file named REA

[perl #73888] [BUG] %*VM doesn't work anymore in Rakudo

2010-07-28 Thread Patrick R. Michaud via RT
The spec changed to use $*VM, and Rakudo now implements that. > say $*VM /home/pmichaud/rakudo/parrot_install/bin > Pm

[perl #70642] README Patch

2010-07-28 Thread Will Coleda via RT
On Thu Nov 19 02:41:01 2009, sco...@dd.com.au wrote: > Picked up a compile time problem with Rakudo today. It is actually >Parrot that uses perl5 to calculate which libraries and headers to >use, and it was using invalid/old entries between an OS upgrade on >Mac OS X. This was fixed by

[perl #69180] [BUG] Less-than-awesome error message when using 'loop while' in Rakudo

2010-07-28 Thread Will Coleda via RT
On Wed Sep 16 14:53:40 2009, masak wrote: > $ perl6 -e 'my $a = 0; loop while $a < 10 { say $a++ }' > Confused at line 1, near "{ say $a++" > [...] > > I think the desired syntax is 'repeat while', not 'loop while'. The > compiler could give a hint to that effect. Ditto 'loop until'. Now gives th

[perl #68572] [BUG] Instead of emitting a cautious and slightly scary internal error message, Rakudo should forbid nesting other packages in roles

2010-07-28 Thread Will Coleda via RT
On Sun Aug 16 05:49:20 2009, masak wrote: > rakudo: role Maybe[::T] { role Just[T] {} }; say Maybe[Int].new() > rakudo 0d4fe0: OUTPUT«Potential internal error: bindability > check may have done more than just binding. [...] This no longer generates an error, but the followup that the OP says s

[perl #67846] [BUG] Less than awesome error message on passing :$!foo-type pairs to subs in Rakudo

2010-07-28 Thread Will Coleda via RT
On Fri Jul 24 02:41:50 2009, masak wrote: > rakudo: sub foo(:$bar) { say $bar }; class A { has $.bar; > method baz() { foo(:$.bar) } }; A.new(:bar).baz > rakudo b19862: OUTPUT«Symbol '$1bar' not predeclared in baz > [...] > :) > * masak submits rakudobug > now, are my expectations right in this

[perl #73352] 'so $x = 1' causes weird errors

2010-07-28 Thread Will Coleda via RT
On Sat Mar 06 10:12:34 2010, ml...@physik.uni-wuerzburg.de wrote: > Rakudo 2d9808d19ba45c09f61a4c6fc4b4b7159ea760cc: > > $ cat foo.pl > my $x; > so $x = 1; > > $ ./perl6 foo.pl > Cannot assign to readonly value > current instr.: '&die' pc 16799 (src/builtins/Junction.pir:347) > called from Sub '&

[perl #73310] [BUG] LTA error message upon parsing '%%' in infix position in Rakudo

2010-07-28 Thread Will Coleda via RT
On Thu Mar 04 14:53:46 2010, masak wrote: > rakudo: say 1%%1 > rakudo 37e574: OUTPUT«Method 'postcircumfix:<[ ]>' not found > for invocant of class '' [...] > ooh! > * masak submits rakudobug > > What's postcircumfix:<[ ]> got to do with it? :) This now outputs 1, and is covered in S03-metaops

[perl #72820] [BUG] LTA error message when referring to &1 in Rakudo

2010-07-28 Thread Will Coleda via RT
On Mon Feb 15 01:22:09 2010, masak wrote: > rakudo: say &1 > rakudo 70667a: OUTPUT«Method 'postcircumfix:<[ ]>' not found > for invocant of class '' [...] > That one was slightly less than awesome. > * masak submits rakudobug Output is now: rakudo: say &1; rakudo 2808a5: OUTPUT«Any()␤» --

[perl #69176] [BUG] Less than helpful error message when writing %*foo instead of *%foo in parameter list in Rakudo

2010-07-28 Thread Will Coleda via RT
On Wed Sep 16 14:47:06 2009, masak wrote: > $ perl6 -e 'class A { method foo(%*opts) {} }' > Invalid twigil used in signature parameter. at line 1, near ") {} }" > > Suggest making the error message include "did you mean '*%opts'?". This doesn't error now: $ ./perl6 -e 'class A { method foo(%*op