Store captures and non-captures in source-string order

2008-10-12 Thread Moritz Lenz
When we write regexes, we generally capture stuff in a way that makes the following semantic analysis easier. For example we could have a regex m/ + ? */ if we're only interested in the match trees of what and matches, not their respective order. But if you want to re-used the match tree for som

Re: Store captures and non-captures in source-string order

2008-10-12 Thread Patrick R. Michaud
On Sun, Oct 12, 2008 at 11:44:05AM +0200, Moritz Lenz wrote: > When we write regexes, we generally capture stuff in a way that makes > the following semantic analysis easier. For example we could have a > regex m/ + ? */ if we're only interested in the match > trees of what and matches, not their

Re: [perl #59816] TGE fails in r31893

2008-10-12 Thread Patrick R. Michaud
On Sat, Oct 11, 2008 at 07:59:31PM -0700, Will Coleda wrote: > After building parrot, cd compilers/tge && make test; > > Test Summary Report > --- > ../../t/compilers/tge/basic.t (Wstat: 256 Tests: 3 Failed: 1) > Failed test: 1 > Non-zero exit status: 1 > ../../t/compilers/tg

Re: Store captures and non-captures in source-string order

2008-10-12 Thread Moritz Lenz
Patrick R. Michaud wrote: > On Sun, Oct 12, 2008 at 11:44:05AM +0200, Moritz Lenz wrote: >> When we write regexes, we generally capture stuff in a way that makes >> the following semantic analysis easier. For example we could have a >> regex m/ + ? */ if we're only interested in the match >> trees

Re: [perl #59816] TGE fails in r31893

2008-10-12 Thread Will Coleda
On Sun, Oct 12, 2008 at 11:16 AM, Patrick R. Michaud via RT <[EMAIL PROTECTED]> wrote: > On Sat, Oct 11, 2008 at 07:59:31PM -0700, Will Coleda wrote: >> After building parrot, cd compilers/tge && make test; >> >> Test Summary Report >> --- >> ../../t/compilers/tge/basic.t (Wstat: 2

Modules

2008-10-12 Thread Elyse M. Grasso
I was able to surface long enough to review the use of perl modules in our current, perl5-based architecture. And the answer is that we hardly use any, because it was written against an old version of perl5 shipped with a very limited set of modules and little or no ability to add CPAN modules.

Re: Modules

2008-10-12 Thread Moritz Lenz
Elyse M. Grasso wrote: > I was able to surface long enough to review the use of perl modules in our > current, perl5-based architecture. And the answer is that we hardly use any, > because it was written against an old version of perl5 shipped with a very > limited set of modules and little or n

Re: Modules

2008-10-12 Thread Elyse M. Grasso
Actually, if the parts of perl6 needed for Cwd and File::Copy are not well specced yet, porting them is probably a very useful place to start in terms of getting perl6 ready for prime time. Even if I'm not successful at porting them in the first pass, the questions and problems I come up with ma

[perl #57652] [BUG] successfull 'when' does not skip the following tests.

2008-10-12 Thread Vasily Chekalkin via RT
Hello. There is patch for this (and not only this) issue. 1. Change logic in compilers/pct/src/PAST/Compiler.pir to handle 'control' attribute. 2. Implement "break" built-in in Rakudo. 3. Add "break" call to each "when" statements (in Rakudo) -- Bacek control_break.pir Description: Binary dat

[perl #59828] Rakudo parses equals sign in rule declaration, whereas STD doesn't

2008-10-12 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #59828] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59828 > r31879: $ perl6 -e 'rule x = { x }' get_iter() not implemented in class 'Closure' [...]

[perl #59830] [PROPOSAL][PDD19] Split .line directive into separate .line and .file directives.

2008-10-12 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #59830] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59830 > currently, the .line directive takes both an integer (for line number) and a string (f

Re: [perl #59784] [PATCH] Enhancement : support for multiple optables in PGE

2008-10-12 Thread Florian Hatat
Andrew Whitworth said: > Instead of simply giving all optables a unique identifier, maybe we > should add them to a hash with the name of the "is optable" rule > being the key for it. That way we could get to the various optables > by name. Languages like Perl6 that expect to only have one optable

[perl #59832] [TODO] combined test harness for test+spectest

2008-10-12 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #59832] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59832 > Patrick R. Michaud wrote: > On Fri, Oct 10, 2008 at 04:03:35PM +0200, Moritz Lenz wrote:

Re: [perl #59830] [PROPOSAL][PDD19] Split .line directive into separate .line and .file directives.

2008-10-12 Thread Andrew Whitworth
On Sun, Oct 12, 2008 at 9:27 AM, via RT Klaas-Jan Stol <[EMAIL PROTECTED]> wrote: > currently, the .line directive takes both an integer (for line number) and a > string (for filename) argument. > I propose to split these into a separate .line and .file directives, both > only taking 1 argument. >

Re: Modules

2008-10-12 Thread Timothy S. Nelson
On Sun, 12 Oct 2008, Moritz Lenz wrote: I would like to use an official CGI.pm, if one is available. Please forget about the "official". Perl 6 will hopefully have multiple implementations, and they are all "official" if they pass the test suite. From what I've gathered so far, Perl 6 core wi

Re: Modules

2008-10-12 Thread ispyhumanfly
Elyse M. Grasso wrote: Actually, if the parts of perl6 needed for Cwd and File::Copy are not well specced yet, porting them is probably a very useful place to start in terms of getting perl6 ready for prime time. Even if I'm not successful at porting them in the first pass, the questions and pr

Re: Modules

2008-10-12 Thread ispyhumanfly
Timothy S. Nelson wrote: From what I've gathered so far, Perl 6 core will only be shipped with the modules needed to install more modules, for which CGI certainly isn't needed. Just as a word of explanation for Elyse, the reasoning I saw behind this was, if we ship it with few enough modu