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
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
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
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
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
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
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/
]: *** [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:/
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
++ 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
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.
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
- 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
>
- 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
- 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
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
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
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
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
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
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/
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
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
'_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_
--- 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
-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
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
(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
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
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
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
--- 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
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'
#
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
--- 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
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
/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
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
38 matches
Mail list logo