[perl #48493] [CAGE] Parrot::Configure::Step: Explicitly pass all arguments to all methods

2007-12-29 Thread James Keenan via RT
explicitconf branch merged into trunk in r24294.

[perl #45201] [PATCH] Be sure to call the correct 'prove' program.

2007-12-29 Thread James Keenan via RT
Implemented chromatic's suggestion in r24283: using Test::Harness::runtests() instead of prove.

[perl #49202] SmartLink.pm patch to cope with current Moose/Class::MOP implementation

2007-12-29 Thread via RT
# New Ticket Created by Flavio Poletti # Please include the string: [perl #49202] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49202 > Hi, I encountered a couple of problems with lib/SmartLinks.pm. In particular, its

[perl #41897] [BUG]: Parrot::Pmc2c::STMRef gets 'subroutine prederef redefined' warning

2007-12-29 Thread James Keenan via RT
I'm closing this ticket for a number of reasons. 1. The "subroutine redefined" problem -- the original focus of the RT -- is, I think, largely a Devel::Cover problem. More of an annoyance than anything else. 2. The other problem I discussed -- the spurious test failures while running Devel::Co

Re: More pbc2c Fun

2007-12-29 Thread chromatic
On Saturday 29 December 2007 18:13:26 chromatic wrote: > As of r24274: Let's call that r24276. > $ perl Configure.pl > $ make pbc_to_c.pir ... and this should be: $ make pbc_to_c > $ cd languages/perl6 > $ make > $ ../../parrot pbc_to_c.pir perl6.pbc ...

More pbc2c Fun

2007-12-29 Thread chromatic
As of r24274: $ perl Configure.pl $ make pbc_to_c.pir $ cd languages/perl6 $ make $ ../../parrot pbc_to_c.pir perl6.pbc $ cd ../.. $ languages/perl6/perl6 languages/perl6/t/01-sanity/01-tap.t 1..10 ok 1 ok 2 o

[perl #47347] [TODO] Merge configuration steps gen::cpu and auto::cpu

2007-12-29 Thread James Keenan via RT
On Sat Dec 29 15:57:14 2007, [EMAIL PROTECTED] wrote: > However, I'm having problems with 3 of the coding standards tests on > these 2 files: > > config/auto/cpu/i386/memcpy_mmx.c > config/auto/cpu/i386/memcpy_sse.c > > They're causing failures in: > > t/codingstd/c_indent.t > t/codingstd/copyr

[perl #47347] [TODO] Merge configuration steps gen::cpu and auto::cpu

2007-12-29 Thread James Keenan via RT
On Sat Dec 29 11:37:49 2007, [EMAIL PROTECTED] wrote: > Smoke test results have been favorable, so I will now proceed to > renaming gen::cpu to auto::cpu, the better to reflect its character as > probe. I moved these files. All configuration tests are passing. However, I'm having problems with 3

Re: [perl #49168] [TODO] create a simplified command interface for perl6

2007-12-29 Thread Patrick R. Michaud
On Sat, Dec 29, 2007 at 12:13:19PM -0800, chromatic wrote: > On Saturday 29 December 2007 01:29:46 Allison Randal wrote: > > > > * convert perl6.pbc into a C executable > > > Possible, but ultimately too constraining. There are significant > > advantages to having the full Parrot runtime environm

Re: [perl #49168] [TODO] create a simplified command interface for perl6

2007-12-29 Thread Patrick R. Michaud
On Sat, Dec 29, 2007 at 11:29:46AM +0200, Allison Randal wrote: > Patrick R.Michaud (via RT) wrote: > >* add some smarts to Parrot to allow it to search/execute .pbc files > > in some standard locations (RT#47992) > > We certainly need to allow configurable search paths (at runtime and > compile

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread Patrick R. Michaud
On Sat, Dec 29, 2007 at 12:04:09PM +0200, Allison Randal wrote: > Patrick R.Michaud (via RT) wrote: > > > >Whenever a PAST::Op node gets a non-PAST child, PCT currently > >throws a cryptic exception message like: > > > >Method 'named' not found for invocant of class 'Perl6::Grammar' > > > >A better

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread Patrick R. Michaud
On Fri, Dec 28, 2007 at 07:11:23PM -0800, chromatic wrote: > On Friday 28 December 2007 16:16:55 Patrick R.Michaud wrote: > > > Whenever a PAST::Op node gets a non-PAST child, PCT currently > > throws a cryptic exception message like: > > > > Method 'named' not found for invocant of class 'Perl6::

Re: Test Results

2007-12-29 Thread James E Keenan
Alberto Simões wrote: Hi James E Keenan wrote: Which OS-cpu? Which Parrot version? Forgot to tell it. Mac OS Tiger on PPC G4 Perl 5.10 Parrot Revision: 24263 t/library/mime_base64.t(Wstat: 6 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output Can you send

[perl #48965] [BUG] t/compilers/json/to_parrot.t test failure

2007-12-29 Thread James Keenan via RT
c: Alberto Simões reported (new?) errors in t/compilers/json/to_parrot.t on list today. Mac OS Tiger on PPC G4 Perl 5.10 Parrot Revision: 24263 See attached. Can you take a look? thanks. kid51 to_parrot.err Description: Binary data

Re: [perl #49168] [TODO] create a simplified command interface for perl6

2007-12-29 Thread Allison Randal
chromatic wrote: Don't reject this out of hand. The C executables generated from pbc2c link against libparrot, so they have the full Parrot runtime environment available. Basically, this code replaces src/main.c with src/perl6pbc.c and a few lines that create a new Parrot interpreter and gi

Re: [svn:parrot] r24268 - trunk/src

2007-12-29 Thread chromatic
On Saturday 29 December 2007 13:47:49 [EMAIL PROTECTED] wrote: > +                while (flags && idx < sizeof(buf)-100) { Is 100 the length of everything in flag_names appended together? -- c

Re: [svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-29 Thread Allison Randal
Klaas-Jan Stol wrote: In order to solve that, adding a :invocant('any') (* a special marker would be more convenient, maybe someone would like to define a class 'any' (you never know :-) but that's beside the pointnow *) By adding these markers, what effectively happens is that all :invocant pa

Re: Disassembler enhancement for review

2007-12-29 Thread Bob Rogers
From: Allison Randal <[EMAIL PROTECTED]> Date: Sat, 29 Dec 2007 12:08:10 +0200 Looks good. Go ahead and commit. Better abstraction for signature decoding can be added later. Allison Thanks; done in r24268. I also changed it to use PIR syntax, so we wouldn't have a new syntax to

Re: [svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-29 Thread Klaas-Jan Stol
On Dec 29, 2007 11:34 AM, Allison Randal <[EMAIL PROTECTED]> wrote: > Klaas-Jan Stol wrote: > > > > Earlier I read over this, thinking: there's probably a good reason for > that > > (the need for being contiguous), but I haven't figured it out yet. > > For sake of documentation, could you please e

Re: [perl #49168] [TODO] create a simplified command interface for perl6

2007-12-29 Thread chromatic
On Saturday 29 December 2007 01:29:46 Allison Randal wrote: > > * convert perl6.pbc into a C executable > Possible, but ultimately too constraining. There are significant > advantages to having the full Parrot runtime environment available. Don't reject this out of hand. The C executables gener

[perl #47347] [TODO] Merge configuration steps gen::cpu and auto::cpu

2007-12-29 Thread James Keenan via RT
Smoke test results have been favorable, so I will now proceed to renaming gen::cpu to auto::cpu, the better to reflect its character as probe.

Re: Test Results

2007-12-29 Thread Alberto Simões
Hi James E Keenan wrote: Which OS-cpu? Which Parrot version? Forgot to tell it. Mac OS Tiger on PPC G4 Perl 5.10 Parrot Revision: 24263 t/library/mime_base64.t(Wstat: 6 Tests: 0 Failed: 0) Parse errors: No plan found in TAP output Can you send output of prove -v?

Re: Test Results

2007-12-29 Thread James E Keenan
Alberto Simões wrote: Hi Probably this is all known, but as I am quite out from Parrot lately, and just wanted to try a make test under Perl 6, today I compiled Parrot, and run a make test. Which OS-cpu? Which Parrot version? This was the result: Test Summary Report ---

Re: VTABLE_elements

2007-12-29 Thread Allison Randal
Andy Lester wrote: What about when you want to implement things like, element -1 gets the last element of the array? That's the case in some languages, I believe... Yes, but we're talking about returning the number of elements in a PMC. That should never be negative. Unless someone wants

[perl #43134] [TODO] Find a generalised way to determine location of Fink

2007-12-29 Thread James Keenan via RT
Please review the patch attached, which proposes adding a new Parrot configuration step, auto::fink, for the purpose of locating the Fink directories needed for three later configuration steps. Adding config/auto/fink.pm and 9 test files. Modifying Parrot::Configure::Step::List, the 3 affected co

Re: VTABLE_elements

2007-12-29 Thread Andy Lester
What about when you want to implement things like, element -1 gets the last element of the array? That's the case in some languages, I believe... Yes, but we're talking about returning the number of elements in a PMC. That should never be negative. -- Andy Lester => [EMAIL PROTECTED]

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

2007-12-29 Thread allison
Author: allison Date: Sat Dec 29 09:14:50 2007 New Revision: 24265 Modified: trunk/docs/pdds/pdd25_concurrency.pod Log: [pdd] Completing truncated sentence in Concurrency PDD. Modified: trunk/docs/pdds/pdd25_concurrency.pod

Re: VTABLE_elements

2007-12-29 Thread Jonathan Worthington
chromatic wrote: On Friday 28 December 2007 07:09:24 Andy Lester wrote: Should we be allowing negative in the PMC elements() functions? Seems to me they'd be more appropriate as UINTVALs. I can't think of any reason they could be negative. Can you make a patch to convert them and s

Test Results

2007-12-29 Thread Alberto Simões
Hi Probably this is all known, but as I am quite out from Parrot lately, and just wanted to try a make test under Perl 6, today I compiled Parrot, and run a make test. This was the result: Test Summary Report --- t/configure/115-auto_warnings-01.t (Wstat: 0 Tests: 4 F

Re: [svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-29 Thread Allison Randal
Klaas-Jan Stol wrote: Earlier I read over this, thinking: there's probably a good reason for that (the need for being contiguous), but I haven't figured it out yet. For sake of documentation, could you please explain why this is so? so, why would it not be possible to write this: sub foo :mult

Re: Disassembler enhancement for review

2007-12-29 Thread Allison Randal
Bob Rogers wrote: The attached patch adds decoding of call/return registers to the disassembler, and also fixes a segfault; both are byproducts of a long and otherwise fruitless debugging session. Please let me know what you think. Looks good. Go ahead and commit. Better abstraction for sig

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread Allison Randal
Patrick R.Michaud (via RT) wrote: Whenever a PAST::Op node gets a non-PAST child, PCT currently throws a cryptic exception message like: Method 'named' not found for invocant of class 'Perl6::Grammar' A better exception message would be something like: Perl6::Grammar ("2") child of PAST::Op c

Re: [svn:parrot-pdd] r24108 - in trunk: . docs/pdds

2007-12-29 Thread Allison Randal
Will Coleda wrote: Yes, it would be specified as Int/Str/Num in the signature. But then invoking the multi with an I register or integer constant should recognize 'Int' as being a match, and not just 'Integer'. My concern here is HLL interop. I think it would be cleaner to specify the base t

Re: [perl #49168] [TODO] create a simplified command interface for perl6

2007-12-29 Thread Allison Randal
Patrick R.Michaud (via RT) wrote: Currently the most frequently asked question (by far) about perl6 is "how can I just get an executable that I can use to run Perl 6 programs?" At present this isn't possible, the best we can offer is "/path/to/parrot/parrot /path/to/parrot/languages/perl6/p

[perl #49135] [BUG] pge - zero-quantified expression doesn't create empty array

2007-12-29 Thread Patrick R. Michaud via RT
On second look, it appears that PGE is doing the correct thing, and the problem we were seeing that triggered this ticket was due to a GC bug. So, never mind! Thanks, Pm

Re: [perl #49085] [PATCH] perl6 add pick method to List

2007-12-29 Thread Patrick R. Michaud
On Mon, Dec 24, 2007 at 05:12:24PM -0800, Christopher Pruden wrote: > # New Ticket Created by Christopher Pruden > # Please include the string: [perl #49085] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=49085 > > > >

Re: [perl #49061] parsing hangs forever, fixed with custom token ws

2007-12-29 Thread Patrick R. Michaud
On Sun, Dec 23, 2007 at 06:01:22PM -0800, Stephen Weeks wrote: > Working on getting parrot to parse the lojban grammar, I found that it > would hang forever with --target=parse. Tracked it down to a rule. > When I define a custom token ws in the grammar, it parses without > problem. > > Built a

[perl #43305] [TODO] config/auto/perldoc.pm: Write unit tests

2007-12-29 Thread James Keenan via RT
Please see the refactored version of config/auto/perldoc.pm and two test files, t/configure/147-auto_perldoc-01.t and -02.t, which were committed in or before r24258. I had intended to submit these as a patch to list, but my SVN sandbox got confused today during theh planned outage, and everthing

Re: [perl #49175] [TODO] pct - throw useful exception for non-PAST children

2007-12-29 Thread chromatic
On Friday 28 December 2007 16:16:55 Patrick R.Michaud wrote: > Whenever a PAST::Op node gets a non-PAST child, PCT currently > throws a cryptic exception message like: > > Method 'named' not found for invocant of class 'Perl6::Grammar' > > A better exception message would be something like: > > Pe