Re: [perl #102208] Rakudo commit bit for japhb?

2011-10-25 Thread Patrick R. Michaud
On Tue, Oct 25, 2011 at 08:44:47PM -0700, Moritz Lenz wrote: what do you think of giving japhb aka Geoffrey Broadwell a Rakudo commit bit? +1. Done. Pm

[perl #68518] [BUG] Null PMC access when not finding the ICU library inside a try block in Rakudo

2011-10-14 Thread Patrick R. Michaud via RT
It would be helpful if someone (not necessarily the original poster) provided a recipe to build a perl6 without ICU so this bug can be tested against a recent version. The following should work: perl Configure.pl --gen-parrot --parrot-option=--without-icu Pm

[perl #98678] [BUG] LTA error message when providing a non-recognized seed to the sequence operator in Rakudo

2011-09-09 Thread Patrick R. Michaud via RT
Now fixed in (nom) 5d26134. Need a spectest and then we can close this ticket. Pm

[perl #98790] [BUG] Expressions involving two sequence operators time out or give a spurious error in Rakudo

2011-09-09 Thread Patrick R. Michaud via RT
Now fixed in f9d94fe. There were already todo'd tests for this bug in spectests, they're now un-todo'd and marked with this ticket number. Thanks for the report, closing ticket! Pm

'nom' branch is now default, rakudo release status

2011-09-08 Thread Patrick R. Michaud
I've just now switched the Rakudo repository on GitHub such that the default branch is now nom instead of master. The nom branch is where nearly all significant Rakudo development has taken place over the last several months -- over 1,800 commits since being forked from the 'master' branch back

[perl #96424] NULL PMC on unmatched or non existent named capture

2011-08-07 Thread Patrick R. Michaud via RT
On Sun Aug 07 12:25:15 2011, ronaldxs wrote: Seems at least partially fixed in nom but still may be related concerns like nom: my $m = '34' ~~ /digit+|alpha+/; say $malpha.perl; say Nil.perl; my $x = $malpha // 4; say 'x is ', $x nom: OUTPUT«()␤Nil␤x is ␤» See

Re: [perl #95174] [BUG] Variable interpolation in regexes erroneously turn strings into regexes in Rakudo

2011-07-19 Thread Patrick R. Michaud
On Tue, Jul 19, 2011 at 03:16:49PM -0700, Carl Mäsak wrote: masak rakudo: my @a = OH HAI; say so OH HAI ~~ /@a/ p6eval rakudo f63b82: OUTPUT«Bool::False␤» masak I think this is wrong. * masak submits rakudobug masak The default way in which the engine handles a string scalar is to match it

Re: Roadmap Goals for Parrot 3.6: Are we on track?

2011-06-22 Thread Patrick R. Michaud
On Sun, Jun 19, 2011 at 11:18:05AM -0400, James E Keenan wrote: Have we developed those ways of benchmarking the performance of HLLs built on top of our monthly releases? I've created the rpbench suite for testing many different versions of Rakudo (master) against various versions of Parrot.

Re: Parrot Developer Summit, May 14 2011: Summary

2011-05-15 Thread Patrick R. Michaud
On Sun, May 15, 2011 at 11:10:49AM -0400, James E Keenan wrote: C. Relationship Management Policy: The Parrot project will designate two people to serve as managers of our relationship with Rakudo, our principal HLL client. Rakudo will do likewise. The relationship managers should be each

Announce: Rakudo Star 2011.04 released

2011-04-27 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the April 2011 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the April 2011 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early adopters

New NQP repository, new “nom” Rakudo branch

2011-02-08 Thread Patrick R. Michaud
As mentioned in the last week’s NQP Roadmap, we’ve now broken out the new 6model-based NQP into its own repository on GitHub: http://github.com/perl6/nqp . We know there may be a bit of confusion between the two versions; just remember that “nqp-rx” always refers to the older one and “nqp”

Re: New NQP repository, new “nom” Rakudo branch

2011-02-08 Thread Patrick R. Michaud
On Tue, Feb 08, 2011 at 10:36:34AM -0600, Patrick R. Michaud wrote: As mentioned in the last week’s NQP Roadmap, we’ve now broken out the new 6model-based NQP into its own repository on GitHub: http://github.com/perl6/nqp . I neglected to mention in the above post that the new NQP is still

Re: [perl #83498] [PATCH] for #82142:

2011-02-07 Thread Patrick R. Michaud
On Mon, Feb 07, 2011 at 11:36:22AM +0100, Moritz Lenz wrote: +| '/' \s* '/' .panic: Null regex in substitution not allowed But I fear this is the wrong approach. Instead of doing a separate null pattern check in every quoting construct, the check should be done in the regex parsing code

Re: [perl #83574] [BUG] Rakudo doesn't reject /|foo/ as containing a null pattern (but STD.pm6 does)

2011-02-07 Thread Patrick R. Michaud
On Mon, Feb 07, 2011 at 08:38:43AM -0800, Carl Mäsak wrote: masak std: /|foo/ p6eval std 625303c: OUTPUT«===SORRY!===␤Null pattern not allowed [...] FAILED 00:01 117m␤» masak rakudo: /|foo/; say 'alive' p6eval rakudo a37640: OUTPUT«alive␤» * masak submits rakudobug I think

A new NQP roadmap, 2011-01-31

2011-01-31 Thread Patrick R. Michaud
Over the next couple of weeks we will be rolling out a new version of NQP that is based on new backend code for object management and multidispatch. This document describes the changes we've identified for the new version of NQP, the expected impact on the existing Parrot/Rakudo/NQP ecosystems,

Announce: Rakudo Star 2010.12 released

2011-01-28 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the January 2011 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the January 2011 release is available from http://github.com/rakudo/star/downloads. Starting with this January 2011

Re: [perl #81982] [BUG] Infinite recursion where none was expected after rebinding return in Rakudo

2011-01-10 Thread Patrick R. Michaud
On Sat, Jan 08, 2011 at 02:59:38PM -0800, Carl Mäsak wrote: masak rakudo: my r = return; sub f { return := - $v { say LOL!; r($v) }; return(42) }; say f [23:45] p6eval rakudo e7e9d5:

Announce: Rakudo Star 2010.11 released

2010-11-25 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the November 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the November 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early

Re: [perl #78626] Patch: support higher arity in reduce()

2010-10-28 Thread Patrick R. Michaud
On Wed, Oct 27, 2010 at 08:55:36PM -0700, Darren Duncan wrote: Stephen Mosher (via RT) wrote: Attached is a diff against rakudo/src/core/Any-list.pm which adds support to reduce() for higher-arity functions. It ensures arity-list agreement and is generally safe. Other than the test, the

Announce: Rakudo Star 2010.10 released

2010-10-28 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the October 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the October 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early

[perl #78284] [BUG] Neither .item nor $(...) make a List stop behaving as a list in Rakudo

2010-10-08 Thread Patrick R. Michaud via RT
Now fixed in 5ce8fcf: sub f { 1, 2, 4 }; .say for f.item 1 2 4 sub f { 1, 2, 4 }; .say for $(f) 1 2 4 However, the fix exposes a problem with either .trans or trans.t, so this ticket isn't quite closable yet. (And we need a spectest for it.) Pm

Announce: Rakudo Star 2010.09 released

2010-09-29 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the September 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the September 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early

[perl #77864] [BUG] Unhelpful error messages instead of DWIM when doing = or ?= or ?|= or ?^= on an undefined variable in the rhs in Rakudo

2010-09-19 Thread Patrick R. Michaud via RT
On Sat Sep 18 10:55:52 2010, moritz wrote: Basic tests added to S03-operators/short-circuit.t. 19:52 moritz_ rakudo: my $x; $x = 5; say $x 19:52 +p6eval rakudo a204ba: OUTPUT«5␤» 19:52 moritz_ somebody please confirm that this is wrong ... 19:53 jnthn moritz_: Looks wrong to me. Rakudo

[perl #77888] [BUG] chr() returns something that is not a string of characters, and say/print outputs it as bytes in Rakudo

2010-09-16 Thread Patrick R. Michaud via RT
Now fixed in 760c734: pmich...@plum:~/rakudo$ ./perl6 print .chr for 233 186 166 233 171 152; éº¦é« The TT #1793 ticket turned out to be a non-bug; the problem was in Rakudo's setup of $*IN, $*OUT, and $*ERR. I'm not sure how the current test suite would be able to test this particular

[perl #57790] [LHF] nicer error message for 12345[1] (number scalar indexed with .[])

2010-09-16 Thread Patrick R. Michaud via RT
I'm fairly certain that Rakudo's current behavior (returning a Failure for indexes other than zero) is correct here. Switching fail to die is definitely not correct. I'm declaring this ticket fixed and can be resolved when we have spectests verifying that the non-zero indexes return a Failure.

Re: [perl #77644] memory leak on eval

2010-09-02 Thread Patrick R. Michaud
On Thu, Sep 02, 2010 at 11:20:52AM -0400, Will Coleda wrote: Currently each eval() execution results in compiling and loading at least two additional Parrot subs into memory that represent the eval'ed code.  As far as I can tell, once loaded there's currently no way for a Parrot Sub PMC

Re: [perl #77464] Rakudo Star: Trim down disk space once installed

2010-08-28 Thread Patrick R. Michaud
On Fri, Aug 27, 2010 at 04:19:58PM -0700, James Keenan via RT wrote: I don't think so. that'll still leave the source around, which it sounds like Jim doesn't want. Coke is correct in thinking that under my top level I don't want either Parrot or Perl 6 source; I want just what I need to

Re: [perl #77464] Rakudo Star: Trim down disk space once installed

2010-08-28 Thread Patrick R. Michaud
On Fri, Aug 27, 2010 at 04:51:16PM -0700, James Keenan via RT wrote: Acting on the belief that what I really need is install/, I tried moving the rakudo/ directory out of the way. But when I then re-ran 'make rakudo-test', I got: ...removing the rakudo/ directory also removes its tests.

Re: [perl #77464] Rakudo Star: Trim down disk space once installed

2010-08-27 Thread Patrick R. Michaud
On Thu, Aug 26, 2010 at 05:54:58PM -0700, James Keenan wrote: ... and (d) a lot more under install/. Do I need all this if my only wish is to *use* and *learn* Perl 6 via Rakudo Star -- as distinct from *hacking* on Rakudo Perl? Once you have built and installed Rakudo, all that is needed

Announce: Rakudo Star 2010.08 released

2010-08-26 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the August 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the August 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early

Re: [perl #77334] [BUG] For loops don't decontainerize in Rakudo, and maybe they should

2010-08-20 Thread Patrick R. Michaud
On Fri, Aug 20, 2010 at 04:39:00AM -0700, Carl Mäsak wrote: blixtor perl6: sub foo { my $s; for 1..3 { $s += $_ } } ; say foo() [...] sorear jnthn: well, in any case, the same underlying LTA is causing both jnthn I'm just not sure where. jnthn Anyway, a ticket does no harm and makes sure we

Re: [perl #77340] [BUG] Arrays should flatten in for loop expressions in the absence of explicit don't-flatten clues, but they don't in Rakudo

2010-08-20 Thread Patrick R. Michaud
On Fri, Aug 20, 2010 at 03:42:57PM -0700, Carl Mäsak wrote: masak rakudo: my %h = foo = []; for %hfoo - $a { say $a.perl } p6eval rakudo 7b0031: OUTPUT«[]␤» masak I find I do such hash accesses when iterating on quantified Match objects. I'd like to know if I should write %hfoo or %hfoo.list

[perl #77232] [BUG] Binary bitshift operators infix: + and infix: + have too loose a priority in Rakudo

2010-08-16 Thread Patrick R. Michaud via RT
Now fixed in 2f18a49, tests added to t/spec/S03-operators/bit.t . Resolving ticket, thanks! Pm

Re: Large integers, ** and Int

2010-08-14 Thread Patrick R. Michaud
On Fri, Aug 13, 2010 at 11:08:30AM -0400, Aaron Sherman wrote: On Thu, Aug 12, 2010 at 3:48 PM, Darren Duncan dar...@darrenduncan.netwrote: What is the difference between Parrot bignums and gmp? Could Parrot not just use gmp to implement its bignums? -- Darren Duncan Parrot does

Re: [perl #77218] Using Perl6 PDF: Some subroutine examples don't work when declared before call

2010-08-14 Thread Patrick R. Michaud
On Sat, Aug 14, 2010 at 10:55:57AM -0700, James Keenan wrote: FAILS: use v6; sub orderbeer($type, $pints) { say ($pints == 1 ?? 'A pint' !! $pints pints) ~ of $type, please.; } orderbeer('Hobgoblin', 1); The problem here is that Rakudo is mis-interpreting the or that follows

Re: Large integers, ** and Int

2010-08-11 Thread Patrick R. Michaud
On Tue, Aug 10, 2010 at 08:44:06PM -0400, Aaron Sherman wrote: On Tue, Aug 10, 2010 at 10:39 AM, Moritz Lenz mor...@faui2k3.org wrote: Am 10.08.2010 01:11, schrieb Aaron Sherman: I've been running into all sorts of problems trying to take S02 at its word that Int supports arbitrary

Re: Rakudo star --prefix was removed from blead?

2010-08-09 Thread Patrick R. Michaud
On Sun, Aug 08, 2010 at 07:28:41PM +0100, Alberto Simões wrote: On 08/08/2010 19:25, Alberto Simões wrote: Just to ask if the --prefix option from rakudo star was removed by decision, or if it was a mistake Hmms, probably it is the new -gen-parrot-prefix (or the old that got renamed

[perl #77072] [BUG] @a[*] does not work as slice of all indexes

2010-08-07 Thread Patrick R. Michaud via RT
Now fixed in fca2d3. There's already a spectest for the test, but I'm unable to commit spectest changes at the moment so I'll leave the ticket open for someone else to close. I also fixed .{*} in this patch, it probably needs tests as well. Pm

[perl #76994] [BUG] Bare 'i' not recognised as a Complex()

2010-08-05 Thread Patrick R. Michaud via RT
Now fixed in b627e33. Assigning to moritz for spectest verification. Thanks! Pm

[perl #65994] Fakexecutable is not working anymore in latest rakudo/parrot

2010-08-03 Thread Patrick R. Michaud via RT
Now working in 51cc37: pmich...@plum:~/rakudo$ ./perl6 --target=PIR hello.p6 hello.pir pmich...@plum:~/rakudo$ parrot_install/bin/parrot -o hello.pbc hello.pir pmich...@plum:~/rakudo$ parrot_install/bin/pbc_to_exe hello.pbc cc -o hello.o -I/home/pmichaud/rakudo/parrot_install/include/2.6.0-devel

Re: cannot install perl6 compiler

2010-08-01 Thread Patrick R. Michaud
On Sun, Aug 01, 2010 at 04:33:15AM +1000, Grizzly(Francis Smit) wrote: ok I'm trying to install rakudo-star-2010.07 which I got from git hub http://github.com/downloads/rakudo/star/rakudo-star-2010.07.tar.gz and I get this error when I try to run perl Configure.pl --gen-parrot

Re: [perl #76842] my @foo = 1..* @foo.max doesn't finish

2010-07-30 Thread Patrick R. Michaud
On Fri, Jul 30, 2010 at 01:22:02PM -0400, Mark J. Reed wrote: What is assigning a Range to an array supposed to do? Give you an array of one item which is a Range? Convert to a series? A range in list context becomes a list of successive values in the Range. my @foo = 1..*; causes

Rakudo Star - a useful, usable, early adopter distribution of Perl 6

2010-07-29 Thread Patrick R. Michaud
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the July 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the July 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early adopters of

[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 $*VMconfigbindir /home/pmichaud/rakudo/parrot_install/bin Pm

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 perl6-bugs-follo...@perl.org said: Thank you for your patch. I know I promised to apply it, but pmichaud++, our pumpking, spoke out against it, indicating that having

[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 #73608] [BUG] Rakudo (nqp-rx) regexes won't backtrack properly into capturing parentheses or subrules

2010-07-19 Thread Patrick R. Michaud via RT
Now fixed in 9005478: pmich...@plum:~/rakudo$ ./perl6 say b ~~ /(.*)b/; b say ab ~~ / (ab|a) b /; ab grammar G { regex TOP { foo a }; regex foo { a* } }; say ?G.parse(aaa); 1 Pm

Re: Learning to Grok Rakudo Perl6/Grammar.pm (was: unexpected failure with trailing white space in use)

2010-07-13 Thread Patrick R. Michaud
On Mon, Jul 12, 2010 at 09:26:15PM -0400, Todd Olson wrote: Question: Can Rakudo show its steps in applying the Perl6 grammer to a Perl6 program similar to use re 'debug' in Perl5? You can add a ?DEBUG subrule somewhere in the grammar. When the grammar engine hits that subrule, it

Re: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-12 Thread Patrick R. Michaud
On Mon, Jul 12, 2010 at 12:59:37PM +0200, Jonathan Worthington wrote: Aaron Sherman wrote: On Sun, Jul 11, 2010 at 9:46 PM, Patrick R. Michaud pmich...@pobox.comwrote: What should the result of True..2 be? Isn't it a question of what the MMD takes as the more significant argument? I would

Re: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-11 Thread Patrick R. Michaud
On Sat, Jul 10, 2010 at 04:44:40AM -0700, Stephane Payrard wrote: # both statement below print 1 ad nauseam. say ?1..2 say (?1)..2 What should the result of True..2 be? (Note that (1,2) is probably not the correct answer, as infix:.. isn't specified to coerce to numeric.) Pm

Re: unexpected failure with trailing white space in use

2010-07-11 Thread Patrick R. Michaud
On Sun, Jul 11, 2010 at 02:17:30PM -0400, Todd Olson wrote: #!/path/to/perl6 use v6 ; - - - - failed with this output [...] Now fixed in bb6df24, thanks. Pm

[perl #76238] Bool.pick always returns false.

2010-06-28 Thread Patrick R. Michaud via RT
On Mon Jun 28 04:49:23 2010, lemb...@wrkhors.com wrote: Using the June release: $ perl6 --version This compiler is built with the Parrot Compiler Toolkit, parrot revision 47640. Attempting to print some random numers via Bool.pick gives no output: For a wide variety of reasons, Rakudo

[perl #76242] [BUG] Double layers of array when binding an Array in a scalar variable to an 'is copy' array variable in Rakudo

2010-06-28 Thread Patrick R. Michaud via RT
Now fixed in c18d372. Assigning to moritz++ for spectest coverage. Thanks! Pm

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

2010-06-27 Thread Patrick R. Michaud via RT
On Sun Jun 27 14:16:46 2010, pkailasa wrote: # this fails perl6 -e 'my @a = 0, 1, 2; for @a { if $_ { $_++ } }; say @a.perl' [0, 1, 2] It now works in current Rakudo: pmich...@plum:~/rakudo$ cat x my @a = 0, 1, 2; for @a { if $_ { $_++ } }; say @a.perl;

[perl #75956] [BUG] @*INC isn't writable in Rakudo

2010-06-27 Thread Patrick R. Michaud via RT
Now fixed in current Rakudo, assigning to moritz for spectest coverage. Pm

[perl #71462] [BUG] Smartmatching against a type yields an Int, not a Bool in Rakudo

2010-06-26 Thread Patrick R. Michaud via RT
Now fixed in a579f8e. Closing ticket. Pm

[perl #74050] bogus hash vs. block distinction.

2010-06-06 Thread Patrick R. Michaud via RT
Now fixed in 06723b4... assigning to moritz++ for test verification and unfudging. Pm

[perl #73772] [BUG] Rakudo returns the wrong thing from a quote with only whitespace in it

2010-06-06 Thread Patrick R. Michaud via RT
Now fixed in 841262f. Assigning to moritz++ for test verification to close ticket. Pm

Re: Digest module and Q:PIR blocks

2010-06-06 Thread Patrick R. Michaud
On Sun, Jun 06, 2010 at 11:06:07PM +0200, Cosimo Streppone wrote: Hi all, Just for fun, I'm trying to write a Digest::MD5 module for Rakudo. Right now I'm stuck with something like: sub test (Str $text) { Q:PIR { load_bytecode 'Digest/MD5.pbc' $P0 = find_lex

[perl #75524] [BUG] Creating $n regexes in a loop returns the last one $n times

2010-06-02 Thread Patrick R. Michaud via RT
On Wed Jun 02 14:50:54 2010, david.gr...@telus.net wrote: Creating several regexes should return several different objects: say /@_[0]/, /@_[1]/, /@_[2]/ given A B C _block27 _block35 _block43 However, inside a loop, instead of different regexes, the final one gets repeated:

Re: [Rakudo] Enums in setting

2010-05-19 Thread Patrick R. Michaud
On Wed, May 19, 2010 at 10:55:31PM +0200, Moritz Lenz wrote: There could be multiple ways forward: 1) rewrite EnumMap in PIR - it's mostly a wrapper around PIR code anyway 2) Add another bootstrapping stage: an early setting for traits, many basic types and the like, and a late setting that's

Re: Build Rakudo with Distutils

2010-03-29 Thread Patrick R. Michaud
On Mon, Mar 29, 2010 at 09:35:39AM -0400, Andy Dougherty wrote: More broadly, I also thought it worth highlighting how when distutils doesn't work, it can be difficult for an ordinary user to do anything about it. This is a portability and support question that the rakudo folks should

Re: [perl #73862] [PATCH] Patch for interpolating variables and block results into regexes

2010-03-29 Thread Patrick R. Michaud
On Sun, Mar 28, 2010 at 10:01:42PM -0700, Bruce Keeler wrote: The attached patch adds support for variable and block-result interpolation into regexes. The patch is a very good start, but please don't apply it yet. I've only had a chance to do a preliminary review, but there are a few areas

Re: [perl #73074] [BUG] Rakudo barfs at undeclared -sigilled variables

2010-02-27 Thread Patrick R. Michaud
On Sat, Feb 27, 2010 at 02:38:29AM -0800, Carl Mäsak via RT wrote: Unlike the previous error message, this is a runtime error (that occurs when the program attempts to access foo and cannot find one). It's still quite distinct from what alpha did, namely to return a Failure when it

[perl #73094] [BUG] The type of an undefined untyped variable should be Any in Rakudo

2010-02-26 Thread Patrick R. Michaud via RT
Now fixed in c495888. Closing ticket. Pm

[perl #73076] [BUG] Can't refer to infix:+ in Rakudo

2010-02-26 Thread Patrick R. Michaud via RT
Now fixed in 4ab4b8. Probably needs a test before we can resolve the ticket. Pm

[perl #72872] [TODO] Implement 'eqv' for Mu in Rakudo

2010-02-26 Thread Patrick R. Michaud via RT
Now fixed in 12ea7b9: say (my $a eqv $a); 1 say Mu eqv Mu 1 Need to verify we have tests for this. Pm

[perl #72816] [BUG] Cannot assign to an undeclared dynamic variable in Rakudo

2010-02-26 Thread Patrick R. Michaud via RT
An undeclared dynamic variable currently results in a failure; attempting to assign to that failure produces the readonly message. Perhaps assignment to a failure should throw its exception? Pm

[perl #72286] [BUG] 'self' is writable in Rakudo

2010-02-26 Thread Patrick R. Michaud via RT
In the new master branch, self is no longer writable. I don't know if we need a test for this ticket before closing it (I suspect we do). Pm

Re: [perl #73034] Variables in closures are shared too eagerly

2010-02-24 Thread Patrick R. Michaud
On Tue, Feb 23, 2010 at 01:42:44AM -0800, Moritz Lenz wrote: Rakudo now fails the last two tests, the old rakudo (now alpha) passed them (and Perl 5.10 also passes them, if adapted to Perl 5 syntax). It shares $x between both closures, although it shouldn't. In general Rakudo is likely to

[perl #72972] [BUG] False ~~ True in Rakudo

2010-02-22 Thread Patrick R. Michaud via RT
Marking ticket as resolved, as Rakudo currently matches the specification. Pm

Re: [perl #72898] [BUG] Can't name a subroutine 'loop' in Rakudo

2010-02-19 Thread Patrick R. Michaud
On Wed, Feb 17, 2010 at 01:47:49AM -0800, Carl Mäsak wrote: masak rakudo: sub loop() { say OH HAI }; loop() p6eval rakudo ed95e2: OUTPUT«Whitespace required after 'loop' at line 11 [...] masak std: sub loop() { say OH HAI }; loop() p6eval std 29763: OUTPUT«ok 00:01 109m␤» * masak submits

Re: [perl #72732] [BUG] 'rtype not set' runtime error when trying to bind several arrays with := in Rakudo

2010-02-19 Thread Patrick R. Michaud
On Fri, Feb 12, 2010 at 05:30:47AM -0800, Carl Mäsak wrote: masak rakudo: my (@a, @b) := ([1], [2]) p6eval rakudo 1d4928: OUTPUT«rtype not set [...] * masak submits rakudobug OOC, is list-binding supported? I haven't seen a definitive answer in the spec. Pm

Rakudo 'ng' branch is now 'master'

2010-02-14 Thread Patrick R. Michaud
I've just completed the rename of the 'ng' branch to become the new 'master' branch. The old 'master' branch is now called 'alpha'. If you have an existing checkout (clone) of the Rakudo repository, it's probably a good idea to get a new fresh clone rather than trying to pull updates from the

Re: [perl #71404] [TODO] Change Rakudo's continue to nobreak

2009-12-18 Thread Patrick R. Michaud
On Thu, Dec 17, 2009 at 01:40:57PM -0800, Carl Mäsak wrote: $ perl6 -e 'given 42 { when 42 { continue }; say OH HAI }' OH HAI The spec has been changed so that 'continue' is now spelled 'nobreak'. ...and has since been changed again so that break/continue are now succeed/proceed (r29367).

Re: Rakudo branches cleanup

2009-11-08 Thread Patrick R. Michaud
On Sat, Nov 07, 2009 at 12:55:37PM +0100, Moritz Lenz wrote: Hi, there are a lots of rakudo branches on github, and I'd like to ask if I can delete some of them. Definitely. The ones from your list that I'd be very comfortable with removing are: alist- 2009-05

Re: [perl #69318] [BUG] Subroutines are rw in Rakudo

2009-09-28 Thread Patrick R. Michaud
On Wed, Sep 23, 2009 at 05:10:04AM -0700, Carl Mäsak wrote: masak rakudo: sub foo { say OH HAI }; foo = say; foo Confirmed that this is a bug... it should be fixed when we default PMCs to be readonly instead of requiring a separate readonly flag as we do now. Then the above will result in

Re: [perl #69406] PROCESS.WHAT: Null PMC access in getprop()

2009-09-28 Thread Patrick R. Michaud
On Sat, Sep 26, 2009 at 09:44:53AM -0700, Olivier Mengué wrote: # New Ticket Created by Olivier Mengué # Please include the string: [perl #69406] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69406 rakudo: say

Re: [perl #69408] GLOBAL.WHAT: Null PMC access in getprop()

2009-09-28 Thread Patrick R. Michaud
On Sat, Sep 26, 2009 at 09:46:01AM -0700, Olivier Mengué wrote: rakudo: say GLOBAL.WHAT rakudo e33d20: OUTPUT«Null PMC access in getprop()␤» Currently Rakudo defaults programs to being in the Main namespace, per an earlier version of the spec. This should be resolved a bit better when we

Re: [perl #69076] [BUG] Strange tricks with Num.sin

2009-09-28 Thread Patrick R. Michaud
On Sat, Sep 26, 2009 at 12:58:50PM -0400, Solomon Foster wrote: Did you see the conversation I had with Moritz on the the similar Complex problem on #perl6 yesterday? Yes, I did see that. My suggestion at this point is for Rakudo to make its own Complex class in the setting (similar to what

Re: [perl #69350] [BUG] Classes accept any manner of modifications from the outside, sans MONKEY_TYPING, in Rakudo

2009-09-24 Thread Patrick R. Michaud
On Thu, Sep 24, 2009 at 12:45:13AM -0700, Carl Mäsak wrote: masak rakudo: sub foo { say OH HAI }; class A { method bar {} }; A::bar = foo; A.new.bar p6eval rakudo 0eaf62: OUTPUT«OH HAI␤» jnthn oh cunning moritz_ ! masak monkey typing without the monkey. * Matt-W sees nothing wrong with that

Re: [perl #69262] [BUG] Rakudo shouldn't allow calling $obj.UnrelatedClass::method() on a non-ancestor class

2009-09-21 Thread Patrick R. Michaud
On Mon, Sep 21, 2009 at 06:41:37AM -0700, Carl Mäsak wrote: masak rakudo: class A { method foo() { say A } }; class B {}; my $b = B.new; $b.A::foo p6eval rakudo 836c8c: OUTPUT«A␤» masak o.O masak wait a minute. masak the classes do not inherit from each other. jnthn masak: oh jnthn masak:

Re: [perl #69252] parrot PGE/builtin seq fault problem?

2009-09-21 Thread Patrick R. Michaud
On Sun, Sep 20, 2009 at 05:38:22PM -0700, m...@purdue.edu (via RT) wrote: # New Ticket Created by m...@purdue.edu # Please include the string: [perl #69252] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69252

Re: [rakudo] split up compilation of the setting

2009-09-07 Thread Patrick R. Michaud
On Sat, Sep 05, 2009 at 02:29:46PM +0200, Moritz Lenz wrote: [...] However there is a problem which prevents it from building: some classes (namely Rat and IO::*) are defined only in the setting, and then used later on in other setting files. Since type names must be known at parse time, this

[perl #65640] Defining an operator as a multi and then calling it causes a Null PMC access in Rakudo

2009-08-28 Thread Patrick R. Michaud via RT
Now fixed in 3a274d9. We probably need a spectest in order to close the ticket. Thanks! Pm

[perl #68664] [BUG] Null PMC access in find_method() for infix:+

2009-08-27 Thread Patrick R. Michaud via RT
Now fixed in f351f60: $ cat x class A { has $.a is rw; method add(A $b) { $.a ~ $b.a } } multi sub infix:+(A $a, A $b) { $a.add($b) }; my A $a .= new(a='foo'); my A $b .= new(a='bar'); say $a.a ~ $b.a; say $a + $b; $ ./perl6 x foobar foobar $ Assigning to moritz++ so that we can get

Re: [perl #64566] @a[1..*] adds trailing undef value

2009-08-21 Thread Patrick R. Michaud
On Wed, Aug 19, 2009 at 04:54:10AM -0700, Moritz Lenz via RT wrote: On Wed Apr 08 14:59:19 2009, moritz wrote: 23:55 @moritz_ rakudo: my @a = 1..4; say @a[1..*].perl 23:56 p6eval rakudo 6b9755: OUTPUT«[2, 3, 4, undef]␤» It should just be [2, 3, 4]. Since the discussion came up on

[perl #68356] [BUG] .kv problems in Rakudo

2009-08-10 Thread Patrick R. Michaud via RT
On Sun Aug 09 14:56:24 2009, moritz wrote: It seems that the :foo[...] colonpair syntax doesn't set up the array sufficiently non-flattening: Correct, Rakudo doesn't handle the non-paren colonpair syntaxes yet (they were recently refactored in STD.pm and haven't caught up). This ticket is

[perl #67450] [BUG] .[+*] seems to be incorrect

2009-08-09 Thread Patrick R. Michaud via RT
On Sat Jul 11 06:57:11 2009, richardh wrote: perl6 my @x=1,2,3,4; my @z; for @x { @z[+*] = $_ }; @z.perl.say [4] my @x=1,2,3,4; my @z; for @x { @z...@z] = $_ }; @z.perl.say [1,2,3,4] Now fixed in f48920, thanks! $ ./perl6 my @x = 1,2,3,4; my @z; for @x { @z[+*] = $_ };

[perl #68140] Less than awesome error message for nonexistent script

2009-08-02 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #68140] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68140 01:38 colomon my $out = open 02.pl, :w or die Unable to open 02.pl: $!\n; 01

Rakudo release numbers

2009-07-30 Thread Patrick R. Michaud
Since Rakudo started issuing its own releases independently of Parrot, we've been using -MM as the version number in the filename (e.g., the Chicago release was rakudo-2009-07.tar.gz). Unfortunately, the .rpm format doesn't allow hyphens in package version numbers, so we probably need to

Re: Rakudo release numbers

2009-07-30 Thread Patrick R. Michaud
On Thu, Jul 30, 2009 at 07:47:36PM -0400, Mark J. Reed wrote: On Thu, Jul 30, 2009 at 7:40 PM, Patrick R. Michaudpmich...@pobox.com wrote: \ Unfortunately, the .rpm format doesn't allow hyphens in package version numbers, so we probably need to switch to something different. The obvious

[perl #63360] [PATCH] Update configure script and makefiles for installed Parrot

2009-07-29 Thread Patrick R. Michaud via RT
On Tue Jul 28 19:03:45 2009, wayland wrote: Attached patch is updated according to pmichauds comments on IRC recently. Patch applied to ins2 branch in ce21ff. As soon as we get the Sun compiler issues resolved (RT #66560) I think we may be able to merge to trunk and close this ticket. Pm

[perl #66560] #line directives in src/pmc confuse Sun's compiler.

2009-07-29 Thread Patrick R. Michaud via RT
Yes, it's still there. It's the 'cd' at the beginning of this line: cd $(PMC_DIR) $(CC) -c $(CINCLUDES) $(CFLAGS) *.c If memory serves, parrot doesn't change directories like that. Instead, it sets the output location directly, with something like $(CC) -c $(CINCLUDES)

[perl #67866] [BUG] Error with stringifying .WHAT on any junctions

2009-07-24 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #67866] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67866 19:37 pmichaud_ rakudo: say any(foo,bar).WHAT 19:37 p6eval rakudo dd5767

[perl #66574] [BUG] inc branch: make perl6 fails, parrot-includes aren't passed to $(CC)

2009-07-24 Thread Patrick R. Michaud via RT
On Sat Jun 13 19:07:16 2009, ing...@exherbo.org wrote: This is using Rakudo's inc branch, building against parrot trunk, r39541. Seems to work fine up until it tries to build the perl6 executable. When building the perl6 executable, $(CINCLUDES) isn't passed to the compiler, as you

[perl #66560] #line directives in src/pmc confuse Sun's compiler.

2009-07-24 Thread Patrick R. Michaud via RT
On Fri Jun 12 13:42:59 2009, doughera wrote: Trying a build with the rakudo ins branch today on OpenSolaris/x86 with Sun's compiler, I hit the following error: [...] ./src/pmc/p6invocation.pmc, line 22: cannot find include file: pmc_perl6multisub.h cc: acomp failed for

Re: [perl #67674] About Rakudo managing

2009-07-19 Thread Patrick R. Michaud
On Sat, Jul 18, 2009 at 01:47:51AM -0700, christian.aperg...@lidil.univ-mrs.fr (via RT) wrote: I am afraid to see that the Rakudo site is used by plenty of spammers to provide their messages. You can find several comments in languages that are ununderstandable for us (arabic, turkish) and

[perl #63894] A returned () is a Nil but doesn't smartmatch against one

2009-07-16 Thread Patrick R. Michaud via RT
On Sun Mar 15 08:36:42 2009, masak wrote: masak rakudo: sub foo { return }; say foo.WHAT; say ?(foo ~~ Nil) p6eval rakudo 5b1ff9: OUTPUT«Nil␤0␤» * masak submits Expected behavior: a Nil and a 1. Or an explanation about why a value shouldn't smartmatch successfully against its own type.

Seeking future Rakudo release managers

2009-07-09 Thread Patrick R. Michaud
Over the next couple of weeks I'm working on fleshing out job openings and descriptions for people who want to help advance Rakudo Perl 6. I'll write more about this in a later post, and they're likely to appear in my OSCON and YAPC::EU talks. One of the jobs we've already identified is

<    1   2   3   4   5   6   7   >