[perl #62804] [TODO± implement \c and \C in Regexes

2009-01-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #62804] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62804 > Perl 6 regexes should support \c for a named (or decimal) character, and \C to match ever

Re: [perl #62738] The use of 'use' before 'class Foo is Bar' in Rakudo

2009-01-27 Thread Patrick R. Michaud
On Sun, Jan 25, 2009 at 07:41:04AM -0800, Carl Mäsak wrote: > [...] > masak: yes, STD allows use before class Foo is Bar; > however it's not clear the p6 autorecognizer will work in that case > so you might have to start with 'use v6' > TimToady: I consider starting with 'use v6' good style any

[perl #62810] [TODO] Implement Match.perl (Prelude)

2009-01-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #62810] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62810 > There's a basic implementation in http://code.google.com/p/rakudo-prelude/source/browse/t

Re: Operator sleuthing...

2009-01-27 Thread Larry Wall
On Thu, Jan 15, 2009 at 10:52:55PM -0800, Mark Lentczner wrote: > I'm re-working my "Periodic Table of the Operators" chart to be up-to- > date. I did the first major pass based on S03-operators. However, the > last few days I've been plowing through STD.pm and have discovered that > there som

Rakudo repository -- svn or git?

2009-01-27 Thread Patrick R. Michaud
Well, we're now at the point where it's time to move the Rakudo repository, and thus we need a decision on continuing to use svn for the repository or switching to git. Obviously staying with svn is very easy to handle. The other repositories that we have to coordinate with (parrot and pugs) are

Re: Rakudo repository -- svn or git?

2009-01-27 Thread fREW Schmidt
> > time -- there's been plenty of opportunity for that. Just state > your preference and possibly a short statement of why you > prefer that choice. > I prefer git. It's fast and distributed and it would be nice to be able to easily have local branches and whatnot. (I know SVK can do the last

Re: Rakudo repository -- svn or git?

2009-01-27 Thread jerry gay
On Tue, Jan 27, 2009 at 08:18, Patrick R. Michaud wrote: > I will be making a decision (and possibly starting the > migration) tomorrow. If anyone has any strong opinions > one way or another, please let them be known quickly. > I'd also prefer that we not get into long discussions at this > time

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Daniel Ruoso
Em Ter, 2009-01-27 às 10:18 -0600, Patrick R. Michaud escreveu: > Well, we're now at the point where it's time to move the > Rakudo repository, and thus we need a decision on continuing > to use svn for the repository or switching to git. I think it primarily depends on how you're planning to mana

r25060 - docs/Perl6/Spec src/perl6

2009-01-27 Thread pugs-commits
Author: lwall Date: 2009-01-27 18:43:18 +0100 (Tue, 27 Jan 2009) New Revision: 25060 Modified: docs/Perl6/Spec/S03-operators.pod src/perl6/STD.pm Log: [STD] more operator hacking inspired by mtnviewmark++ [S03] added comparison-reversion metaoperator Modified: docs/Perl6/Spec/S03-operators

Re: r25060 - docs/Perl6/Spec src/perl6

2009-01-27 Thread Jon Lang
On Tue, Jan 27, 2009 at 9:43 AM, wrote: > +=head2 Reversed comparison operators > + > +Any infix comparison operator returning type C may be transformed > into its reversed sense > +by prefixing with C<->. > + > +-cmp > +-leg > +-<=> > + > +To avoid confusion with the C<-=> operator,

Re: r25060 - docs/Perl6/Spec src/perl6

2009-01-27 Thread Larry Wall
On Tue, Jan 27, 2009 at 10:59:34AM -0800, Jon Lang wrote: : If there are only a handful of operators to which the new : meta-operator can be applied, why do it as a meta-operator at all? As a metaoperator it automatically extends to user-defined comparison operators, but I admit that's not a stron

Re: r25060 - docs/Perl6/Spec src/perl6

2009-01-27 Thread Larry Wall
On Tue, Jan 27, 2009 at 11:56:16AM -0800, Larry Wall wrote: : Arguably autogenerated operators should give way to hardwired ones, : much like foo\w* gives way to foobar currently. Though I should point out that this wouldn't help with -=, since it's autogenerated either way, unless you divide the

[perl #62828] .clone inside while loop which shifts off an array doesn't clone properly in Rakudo

2009-01-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #62828] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62828 > rakudo: class A { has $.b; }; while shift [A.new( :b(0) )] -> $a { say $a.b; $a.clone(

[perl #62836] Null PMC access when calling user-declared sub in List:: class

2009-01-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #62836] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62836 > rakudo: sub List::a {}; <1 2 3>.a rakudo 36054: OUTPUT«Null PMC access in invoke() [..

Re: spelunking in the meta-ops in STD.pm

2009-01-27 Thread Larry Wall
On Sun, Jan 18, 2009 at 10:57:26PM -0800, Mark Lentczner wrote: > I was looking through STD.pm at the parsing of metaops. I was exploring > to see if the legal metaops for a given operator could be notated on the > operator chart. What I found was some oddness... Caveat: The actual autogenerat

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Stephen Weeks
Not long ago, Patrick R. Michaud proclaimed... > Well, we're now at the point where it's time to move the > Rakudo repository, and thus we need a decision on continuing > to use svn for the repository or switching to git. > > Obviously staying with svn is very easy to handle. The other > reposito

Re: r25060 - docs/Perl6/Spec src/perl6

2009-01-27 Thread Jon Lang
Larry Wall wrote: > Jon Lang wrote: > : If there are only a handful of operators to which the new > : meta-operator can be applied, why do it as a meta-operator at all? > > As a metaoperator it automatically extends to user-defined comparison > operators, but I admit that's not a strong argument.

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Moritz Lenz
Patrick R. Michaud wrote: > Switching the rakudo repository to git means that it would > likely live on github, at least for a short time. We'd also > have to provide mechanisms for people to continue to obtain > and be able to easily commit to the pugs subversion repository. > > I will be making

[perl #62838] [BUG] typed array attributes are initially not empty

2009-01-27 Thread mbere...@flashmail.com (via RT)
# New Ticket Created by mbere...@flashmail.com # Please include the string: [perl #62838] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62838 > Compare the following two command lines, both should print 0: perl6 -e 'class

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Carl Mäsak
Moritz (>): > I'm fine with both, and have no real preference atm, just a small bias > towards git. Same here. I like both systems, but ceteris paribus, I like git better. I find it hard to tell in advance whether it'd be worth the trouble switching, though. // Carl

Re: [svn:parrot] r36057 - in trunk: . config/auto config/auto/format config/gen/config_h include/parrot src t/compilers/imcc/syn t/op

2009-01-27 Thread Nicholas Clark
On Tue, Jan 27, 2009 at 10:24:46AM -0800, parti...@cvs.perl.org wrote: > -gen_sprintf_call(tc, &info, ch); > -ts = cstr2pstr(tc); > +/* check for Inf and NaN values */ > +if (thefloat ==

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Patrick R. Michaud
On Tue, Jan 27, 2009 at 11:25:29AM -0700, Stephen Weeks wrote: > > Switching the rakudo repository to git means that it would > > likely live on github, at least for a short time. We'd also > > have to provide mechanisms for people to continue to obtain > > and be able to easily commit to the pugs

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Jonathan Scott Duff
On Tue, Jan 27, 2009 at 10:49 AM, Daniel Ruoso wrote: > Em Ter, 2009-01-27 às 10:18 -0600, Patrick R. Michaud escreveu: > > Well, we're now at the point where it's time to move the > > Rakudo repository, and thus we need a decision on continuing > > to use svn for the repository or switching to g

Re: Rakudo repository -- svn or git?

2009-01-27 Thread Jonathan Worthington
Patrick R. Michaud wrote: On Tue, Jan 27, 2009 at 11:25:29AM -0700, Stephen Weeks wrote: Switching the rakudo repository to git means that it would likely live on github, at least for a short time. We'd also have to provide mechanisms for people to continue to obtain and be able to easily co

Re: [svn:parrot] r36057 - in trunk: . config/auto config/auto/format config/gen/config_h include/parrot src t/compilers/imcc/syn t/op

2009-01-27 Thread jerry gay
On Tue, Jan 27, 2009 at 10:58, Nicholas Clark wrote: > On Tue, Jan 27, 2009 at 10:24:46AM -0800, parti...@cvs.perl.org wrote: > >> -gen_sprintf_call(tc, &info, ch); >> -ts = cstr2pstr(tc); >> +/* check for Inf and

Re: [perl #37700] [TODO] Changing Default STDOUT/STDERR Filehandles for PIR Code

2009-01-27 Thread NotFound
On Wed, Dec 17, 2008 at 12:52 AM, chromatic wrote: > On Tuesday 16 December 2008 15:40:32 Allison Randal via RT wrote: > >> The simple solution is to add opcodes for 'setstdin', 'setstdout', and >> 'setstderr' that change the interpreter's stored FileHandle PMCs to a >> PMC passed in as an argumen

Re: [svn:parrot] r36057 - in trunk: . config/auto config/auto/format config/gen/config_h include/parrot src t/compilers/imcc/syn t/op

2009-01-27 Thread Andy Dougherty
On Tue, 27 Jan 2009, Nicholas Clark wrote: > On Tue, Jan 27, 2009 at 10:24:46AM -0800, parti...@cvs.perl.org wrote: > > > +else if (thefloat != thefloat) { > > The above is the valid test for a NaN. > > Note, Intel chose that the default optimiser setting on their co

[svn:parrot-pdd] r36076 - trunk/docs/pdds

2009-01-27 Thread allison
Author: allison Date: Tue Jan 27 20:35:00 2009 New Revision: 36076 Modified: trunk/docs/pdds/pdd28_strings.pod Log: [pdd] Regularizing string API function names to fit the pattern of a three-character subsystem identifier. Modified: trunk/docs/pdds/pdd28_strings.pod =

Re: r25060 - docs/Perl6/Spec src/perl6

2009-01-27 Thread Mark Lentczner
On Jan 27, 2009, at 12:29 PM, Jon Lang wrote: So "$a -<=> $b" is equivalent to "$b <=> $a", not "-($a <=> $b)". OK. I'd suggest choosing a better character for the meta-operator (one that conveys the meaning of reversal of order rather than opposite value); but I don't think that there is one.