Fw: Running Perl 6 Tests

2008-10-20 Thread Ovid
It would help if I sent this to the correct mailing list. Oops. Cheers, Ovid --- On Mon, 20/10/08, Ovid <[EMAIL PROTECTED]> wrote: > I've been doing some work integrating Perl 6 into vim > and now I'm trying to figure out how to run individual > Perl 6 tests. It app

Re: Fw: Running Perl 6 Tests

2008-10-20 Thread Ovid
e strange assignments ("+^="?), so I assumed their values were correct. Bummer. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Re: [perl #60016] AutoReply: [PATCH] Make basic Perl 6 tests pass

2008-10-20 Thread Ovid
similar) is important as those who want to play with Rakudo will see a test failure if they run 'make test' as the README instructs. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter

Re: [perl #60016] AutoReply: [PATCH] Make basic Perl 6 tests pass

2008-10-20 Thread Ovid
You might not notice the tests failing, but that's because "make test" seems to run the harness 3 times and the failing test is in the first run. If you don't notice this, you won't notice these tests failing. Cheers, Ovid -- Buy the book - http://ww

Re: [perl #60016] [PATCH] Make basic Perl 6 tests pass

2008-10-21 Thread Ovid
one-liner: perl6 $ ../../parrot perl6.pbc -e 'my $x = 3; $x **= 2; say $x' 3 Unless, of course, this isn't supposed to be implemented yet, but that seems strange since it's in the basic tests. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Te

Re: Parrot on mobile platforms?

2008-10-23 Thread Ovid
oper who would be a great fit for a challenge like this (if he's interested). Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Known Bug in Rakudo?

2008-10-30 Thread Ovid
7; pc 17077 (perl6.pir:179) *** glibc detected *** double free or corruption (!prev): 0x084eaaf0 *** This is Parrot 0.8.0. $ uname -a Linux critix 2.6.8-2-686-smp #1 SMP Tue Aug 16 12:08:30 UTC 2005 i686 GNU/Linux Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/

Parrot doesn't build on OS X

2008-11-01 Thread Ovid
]: *** [PGE.pbc] Bus error make[1]: *** Deleting file `PGE.pbc' make: *** [compilers.dummy] Error 2 $ uname -a Darwin curtis-poes-computer-2.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386 Cheers, Ovid -- Buy the book - http:/

Re: [perl #61052] [BUG]: r33482 Can't run 'make realclean' in languages/perl6 directory

2008-12-05 Thread Ovid
do, only in parrot so far). No, I don't need to do that. It comes from my 'rebuild' script and that's just finger memory on my part. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twi

[PATCH] Add .trim method

2009-01-11 Thread Ovid
++ for handholding on IRC. Oh, there are no tests because I couldn't find any pugs tests for this :( What's the appropriate procedure for this? However, all tests pass and a small test program passed (including calling trim() as a function). Cheers, Ovid -- Buy the book

[PATCH]: implement .trim method

2009-01-11 Thread Ovid
ts because I couldn't find any pugs tests for this :( What's the appropriate procedure for this? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.

Re: [PATCH] Add .trim method

2009-01-11 Thread Ovid
Bummer :( Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
- Original Message > From: Ovid > > This patch implements the .trim() method for strings. > > Now that I'm reading S29, I see there is no .trim() method there. I got that > because it was referenced in pugs in the cookbook (not in tests, though) and >

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
- Original Message > From: jesse > > On Mon, Jan 12, 2009 at 07:01:25AM -0800, Ovid wrote: > > > > > I could optionally make the following work: > > > > > > > > > > $string.trim(:leading<0>); > > > > > $st

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
- Original Message > From: Larry Wall > On Mon, Jan 12, 2009 at 05:04:50AM -0800, Ovid wrote: > : ...the trivial $string.trim and trim($string) case. > > Hmm, I'd think .trim should work like .chomp, and return the trimmed > string without changing the original

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
meters aren't there. I'm happy to finish the work according to whatever spec is agreed upon. I want this badly enough that it's important to me :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
at you're going to trim, you'd couldn't just set variables to do it, though. You'd have to figure out which methods to call. Or all could be allowed and $string.trim(:leading<0>) could all $string.rtrim internally. Cheers, Ovid -- Buy the book - http://www.ore

[PATCH] Revised .trim patch

2009-01-12 Thread Ovid
learer and now has tests. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6 trim.patch Description: Binary data

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
does > > both). So maybe trim_start and trim_end if we wanted to take that lead... > > How about .trim(:start) and .trim(:end)? So if: 1. No params, trim all 2. :start or :end, only trim that bit (not a negated option :) 3. If both, goto 1 Sound good? Cheers, Ovid -- Buy the book

Re: [PATCH] Add .trim method

2009-01-12 Thread Ovid
ing". > > That of course raises the question of how one *would* properly override > trim's concept of whitespace Change your locale to one with a different concept of whitespace (are there any?) Otherwise, would this be trying to stuff too much into one function? Cheers

Re: [PATCH] Add .trim method

2009-01-13 Thread Ovid
for keys or it needs to not be allowed (and thus fail with AoHoA and similar complex data structures). > By the way, good work on this. Everyone loves useful string functions. Thanks. It's been lots of fun :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/

Compiler Toolkit

2009-11-24 Thread Ovid
meLang' doesn't help because it refers me to non-existent files. Anyone know about about this area and can fix up a few things so people can dive back into writing compilers? Cheers, Ovid -- Buy the book - http://www.oreilly..com/catalog/perlhks/ Tech blog - htt

Re: Compiler Toolkit

2009-11-24 Thread Ovid
c -1 ((unknown file):-1) strip installable_xyz strip: can't open file: installable_xyz (No such file or directory) Cheers, Ovid -- Buy the book - http://www.oreilly..com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter

"make pbc_to_c" fails

2007-12-30 Thread Ovid
'_throw' pc 438 (pbc_to_c.pir:250) called from Sub 'compile_file' pc 485 (pbc_to_c.pir:268) called from Sub 'main' pc 126 (pbc_to_c.pir:29) make: *** [pbc_to_c] Error 1 (More detailed error message below). Cheers, Ovid parrot $ make pbc_to_c perl tools/dev/pbc_to_c_

Re: "make pbc_to_c" fails

2007-12-30 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: On a related note, I received this error message: > Ack, some files were missing! I can't continue running > without everything here. Please try to find the above > files and then try running Configure again. Configure.pl kept run

Re: "make pbc_to_c" fails

2007-12-30 Thread Ovid
-test 4/1089 tests failed. Test below. As usual, if there is anything else I can do, please let me know. Cheers, Ovid t/postconfigure/01-options...ok t/postconfigure/02-data_slurpok t/postconfigure/03-revision_no_DEVELOPINGok t/postc

Re: [perl #49228] [BUG] 'make pbc_to_c' fails on Darwin

2007-12-30 Thread Ovid
p though. I manually edited the Makefile to get rid of both -o flags and I got the same error. I did a 'make realclean', rebuilt, and then manually edited the Makefile to get rid of just one of those and it still failed with the same error. I don't know Makefiles very well, so I suppo

Tutorial Question: catch blocks

2008-03-27 Thread Ovid
(or I just know pir very well). Also, how do I know that the exception object is in $S0? My pir is below. Is this actually correct and all will become clear later? Cheers, Ovid .namespace .sub "_block10" push_eh catch_11 get_global $P15, "_block12" newclos

[PATCH] Perl::Critic Version Wrong

2008-06-18 Thread Ovid
l::Critic docs state that &default_forbidden words is a method, not a function. It was called as a function, but I changed it to a class method call to ensure that if it really is required to be a method in the future, things don't break. Cheers, Ovid -- Buy the book - http://www.oreilly.c

Re: [perl #56020] [OK]: Report on Parrot Build Fest at YAPC

2008-06-19 Thread Ovid
ests=11192, 2674 wallclock secs (2176.58 cusr + 203.55 > csys = 2380.13 CPU) This looks like you're using an older version of Test::Harness. If you upgrade, it will break things down further, including telling you which test in which test program unexpectedly succeeded. Cheers, Ovi

Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Ovid
ode Kind: directory Schedule: normal Last Changed Author: jonathan Last Changed Rev: 28555 Last Changed Date: 2008-06-19 19:43:36 +0100 (Thu, 19 Jun 2008) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog

Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Ovid
--- Jonathan Worthington <[EMAIL PROTECTED]> wrote: > Hi, > > Ovid wrote: > >> http://rt.perl.org/rt3/Ticket/Display.html?id=56108 > >> > This is related to Rakudo starting to use dynops (dynamic op > libraries) > today. I managed to mess up th

Re: [perl #56108] AutoReply: [BUG] make fails in languages/perl6

2008-06-19 Thread Ovid
rtion 'interp->op_count == core->op_count' # # Expected: # fortytwo # not ok 3 - hcf # Failed test 'hcf' # at t/dynoplibs/myops.t line 53. # 'src/interpreter.c:1030: failed assertion 'interp->op_count == core->op_count' #

Re: [perl #56236] [BUG]: Unable to 'make perl6' on OS X 10.4 PPC

2008-06-24 Thread Ovid
I'll try this when I get home tonight. This is great news. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Re: [perl #56236] [BUG]: Unable to 'make perl6' on OS X 10.4 PPC

2008-06-24 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: > > I tried again, and 'make perl6' succeeded at r27371. > > > > The plot thickens! > > w00t! I'll try this when I get home tonight. This is great news. Nope. 'make test' and 'make perl6' b

Re: [perl #56236] [BUG]: Unable to 'make perl6' on OS X 10.4 PPC

2008-06-24 Thread Ovid
Forget everything I wrote. I missed a couple of files in my cleaning. I got rid of them, did a 'make clean && make perl6' and now everything is just dandy. Thanks for the help. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog

Re: [perl #56236] [BUG]: Unable to 'make perl6' on OS X 10.4 PPC

2008-06-24 Thread Ovid
/gen_builtins.pir:584) called from Sub 'parrot;Perl6::Compiler;main' pc -1 ((unknown file):-1) I get the same error even if I do "../../parrot perl6.pbc hello.pl". Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog- http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Bugs or Unimplemented Features?

2008-06-24 Thread Ovid
much of an option because I love to take breaks from email from time to time). Cheers, Ovid Null PMC access in type() current instr.: 'fact' pc 334 (EVAL_15:127) called from Sub '_block11' pc 34 (EVAL_15:17) called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806