Re: Is there another way to define a regex?

2016-01-18 Thread Nelo Onyiah
Curious but are the non capturing groups necessary?
On 17 Jan 2016 11:35 p.m., "Tom Browder"  wrote:

> On Sun, Jan 17, 2016 at 3:03 PM, Moritz Lenz  wrote:
> > On 01/17/2016 06:07 PM, Tom Browder wrote:
> ...
> >> # regex of dirs to ignore
> >> my regex dirs {
> >>   \/home\/user\/\.cpan |
> >>   \/home\/tbrowde\/\.emacs
> >> }
> >
> > Better written as
> >
> > my regex dirs {
> >| '/home/user/.cpan'
> >| '/home/tbowde/.emacs'
> > }
> >
> > Yes, quoting does now work in regexes too. Cool, right? :-)
>
> Yes, very cool!  I have decided to use that format and it does ease
> adding or modifying entries.
>
> My final regex looks like this (shortened to only a couple of entries):
>
> my regex dirs {
>   ^
>   \s*
>   [# <= non-capture grouping
>| '/home/user/.cpan'
>| '/home/tbowde/.emacs'
># more entries...
>   ]
> }
>
> used like this:
>
>   next LINE if $line ~~ //;
>
> Thanks, Moritz!
>
> Best,
>
> -Tom
>


Re: Rakudo Perl 6 development release #17 (Stockholm)

2009-05-28 Thread Nelo Onyiah
Thanks,

That appears to have fixed it. Here are the results of the spectess:

Test Summary Report
---
t/spec/S02-literals/quoting.rakudo   (Wstat: 0
Tests: 136 Failed: 0)
  TODO passed:   24
t/spec/S09-subscript_slice/slice.rakudo  (Wstat: 10
Tests: 27 Failed: 0)
  Non-zero wait status: 10
Files=383, Tests=11494, 981 wallclock secs ( 6.79 usr  3.52 sys + 1679.86
cusr 95.69 csys = 1785.86 CPU)
Result: FAIL

2009/5/28 Hiroyuki Hanai ha...@s2factory.co.jp

 Christian Aperghis wrote:
  Reini Urban a �+1crit :
   Patrick R. Michaud schrieb:
   On behalf of the Rakudo development team, I'm pleased to announce
   the May 2009 development release of Rakudo Perl #17 Stockholm.
   Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine
 [1].
   The tarball for the May 2009 release is available from
   http://github.com/rakudo/rakudo/downloads .
  
   Does it finally build and work with installed parrot only?
 
  On Mac os X 10.5.T the Configure --gen-parrot provides an error in
 building
  Stockholm after having installed the parrot folder.

 I've encountered the same problem and found that it'll be solved by
 cofiguring
 parrot with --optimze option, which means that the following may help you:

 $ perl Configure.pl --gen-parrot --gen-parrot-option=--optimize

 Regards,

 --
 Hiroyuki Hanai ha...@s2factory.co.jp
 S2 Factory, Inc. http://www.s2factory.co.jp/
 Tokyo, JAPAN




-- 
Nelo Onyiah


Re: Error running parrot_config (was: Rakudo Perl 6 development ...)

2009-05-27 Thread Nelo Onyiah
Did that and here is the output:

-falign-functions=16 = '1'
-funit-at-a-time = '1'
-fvisibility=hidden = '1'
-maccumulate-outgoing-args = '1'
-W = '1'
-Waggregate-return = '1'
-Wall = '1'
-Wbad-function-cast = '1'
-Wc++-compat = '0'
-Wcast-align = '1'
-Wcast-qual = '1'
-Wchar-subscripts = '1'Bus error


2009/5/27 Patrick R. Michaud pmich...@pobox.com

 On Tue, May 26, 2009 at 10:37:41PM +0100, Nelo Onyiah wrote:
  All I am seeing is just the message:
 
  Reading configuration information from parrot/parrot_config ...
  Died at Configure.pl line 104.

 Okay, this is definitely helpful.

 What do you get from manually running parrot/parrot_config --dump
 from the rakudo/ directory?

 Pm




-- 
Nelo Onyiah


Re: Rakudo Perl 6 development release #17 (Stockholm)

2009-05-26 Thread Nelo Onyiah
Hi,

All I am seeing is just the message:

Reading configuration information from parrot/parrot_config ...
Died at Configure.pl line 104.

It seems to be when the parrot_config file is being closed. I am using
parrot version 1.2.0 (r39025). I did try to install parrot separately and
got the following error:

Test Summary Report
---
t/steps/auto_icu-01.t (Wstat: 256 Tests: 136 Failed: 1)
  Failed test:  132
  Non-zero exit status: 1
t/op/arithmetics.t(Wstat: 256 Tests: 23 Failed: 1)
  Failed test:  21
  Non-zero exit status: 1
t/compilers/pge/pge_examples.t(Wstat: 0 Tests: 2 Failed: 0)
  TODO passed:   2
Files=395, Tests=11919, 245 wallclock secs ( 4.37 usr  2.79 sys + 107.98
cusr 84.58 csys = 199.72 CPU)
Result: FAIL
make: *** [test] Error 1

Also, I tried re-running perl Configure --gen-parrot on Ubuntu and that
seemed to work. I hope that helps clarify my issues.

Thank you.

2009/5/26 Patrick R. Michaud pmich...@pobox.com

 On Sat, May 23, 2009 at 07:33:06PM +0200, Christian Aperghis wrote:
  Reini Urban a écrit :
   Patrick R. Michaud schrieb:
   On behalf of the Rakudo development team, I'm pleased to announce
   the May 2009 development release of Rakudo Perl #17 Stockholm.
   Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine
 [1].
   The tarball for the May 2009 release is available from
   http://github.com/rakudo/rakudo/downloads .
  
   Does it finally build and work with installed parrot only?
 
  On Mac os X 10.5.T the Configure --gen-parrot provides an error in
 building
  Stockholm after having installed the parrot folder.

 Could you provide a copy of whatever error you're seeing?
 Simply knowing that there's an error doesn't really help us much
 in tracking it down.

 Pm




-- 
Nelo Onyiah