[perl #49177] [TODO] pct - PAST::Val node should throw exception if :value attribute not set

2007-12-29 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #49177] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49177 PAST::Val nodes should throw an exception if :value attribute is not set. Pm

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

2007-12-29 Thread John M. Dlugosz
At present this isn't possible, the best we can offer is /path/to/parrot/parrot /path/to/parrot/languages/perl6/perl6.pbc hello.pl, which is a pain. So, we need a way to package this up into a simple shell script, executable, or other item that can be placed in a PATH and executed directly.

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

2007-12-29 Thread pmichaud
Author: pmichaud Date: Fri Dec 28 14:58:53 2007 New Revision: 24256 Modified: trunk/docs/pdds/pdd15_objects.pod Log: [pdds]: 0..10 makes eleven internal attributes. (bgeron++) Modified: trunk/docs/pdds/pdd15_objects.pod

[svn:perl6-synopsis] r14474 - doc/trunk/design/syn

2007-12-29 Thread larry
Author: larry Date: Fri Dec 28 14:54:36 2007 New Revision: 14474 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S05.pod Log: Fossil noticed by pmichaud++ Quote macros should be quote: rather than circumfix:--the latter implies EXPR in the middle. Modified:

[perl #49170] [TODO] document perl6 compiler architecture

2007-12-29 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #49170] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49170 Many have indicated that the plethora of tools (PCT, PAST, NQP) seem like a

[perl #49171] [META] High priority perl6 tickets

2007-12-29 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #49171] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49171 This is a metaticket identifying the other bugs or TODO items in RT (both the

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

2007-12-29 Thread Patrick R. Michaud
On Fri, Dec 28, 2007 at 08:09:23PM -0600, John M. Dlugosz wrote: At present this isn't possible, the best we can offer is /path/to/parrot/parrot /path/to/parrot/languages/perl6/perl6.pbc hello.pl, which is a pain. So, we need a way to package this up into a simple shell script,

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:

Perl6::Doc # Hail to the new pharao

2007-12-29 Thread herbert breunung
Hereby I declare myself as the Pharao of the Perl 6 Documentation. My first sign of regence will be most probably tomorrow the release the initial stable release of http://search.cpan.org/~lichtkind/Perl6-Doc/ this is a perly command line tool to read perl 6 related documentation. The code

[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

Pugs File-Util tests

2007-12-29 Thread Mark A. Hershberger
The recent perl6 brouhaha got me to try out pugs again. After grabbing pugs from svn and running the smoke tests (http://xrl.us/bdipe), I noticed some ext/File-Util/t/03.dirs.t was failing and looked like it would be a relatively easy fix. Diff attached. I worked from the File::Util docs on

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 ws rule. When I define a custom token ws in the grammar, it parses without problem. Built a

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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49085

[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: Perl6::Doc # Hail to the new pharao

2007-12-29 Thread chromatic
On Friday 28 December 2007 17:04:40 herbert breunung wrote: I have also plans to add my perl article (once they transelated) for $foo perl magazine and maybe some perl.com articles, if chomatic allowes. It's fine with O'Reilly, as long as the authors of the articles agree (they hold the

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

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

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

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

[perl #49173] [TODO] Allow source written in perl6

2007-12-29 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #49173] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49173 Currently all of the builtins for perl6 are written in PIR. However, it would

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

[perl #49182] [TODO] access outer lexicals in dynamically compiled subs (e.g. 'eval')

2007-12-29 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #49182] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49182 I'm converting a parrot-porters post into RT tickets so that progress can be

Re: Perl6::Doc # Hail to the new pharao

2007-12-29 Thread herbert breunung
thanks to chromatic, so i have ask Jonathan Scott Duff, Phil Crow and wait for /Adrianos answer. what i yesterday also forgot to mention is that rumor says that the emerald tables are designed to can provide answer for people on over 100 different levels of consciousness. to teach the

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

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread Mark J. Reed
.cgi? Is that really a CGI-based implementation? Because that seems a little, I don't know, backward-looking. Maybe it's just me, but it seems like it will just feed the all-too-common perception that Perl is for CGI scripts, and real web apps need to be written in something else (be it Java,

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread Gabor Szabo
On Dec 29, 2007 4:56 PM, Mark J. Reed [EMAIL PROTECTED] wrote: .cgi? Is that really a CGI-based implementation? Because that seems a little, I don't know, backward-looking. Maybe it's just me, but it seems like it will just feed the all-too-common perception that Perl is for CGI scripts,

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

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

[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

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

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: 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: [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

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread chromatic
On Saturday 29 December 2007 06:56:45 Mark J. Reed wrote: Maybe it's just me, but it seems like it will just feed the all-too-common perception that Perl is for CGI scripts, and real web apps need to be written in something else (be it Java, PHP, Ruby/Rails, whatever). Proposed new rule: for

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread Mark J. Reed
Ok, consider me duly chastised. Sorry for the sidetracking. On 12/29/07, chromatic [EMAIL PROTECTED] wrote: On Saturday 29 December 2007 06:56:45 Mark J. Reed wrote: Maybe it's just me, but it seems like it will just feed the all-too-common perception that Perl is for CGI scripts, and

Re: Official Perl 6 and Parrot wikis

2007-12-29 Thread chromatic
On Saturday 29 December 2007 13:35:00 Mark J. Reed wrote: Ok, consider me duly chastised. Sorry for the sidetracking. It's not a *bad* idea, but it's less important in my mind than getting useful information on the wiki. Anyone who wants to pursue it can do so, but I'd like to forestall a

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 explain why

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 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

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: [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

[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: 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

RE: Official Perl 6 and Parrot wikis

2007-12-29 Thread Conrad Schneiker
This thread originated on perl6.compiler (see either of the links below), but it pertains to earlier discussions on perl6.users, so I'm continuing here. http://www.nntp.perl.org/group/perl.perl6.compiler/2007/12/msg1677.html

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::Grammar'

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 exception

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-time).

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 environment

[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

[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/copyright.t

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

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 ... and

[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

[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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49202 Hi, I encountered a couple of problems with lib/SmartLinks.pm. In particular,

Re: Perl6::Doc # Hail to the new pharao

2007-12-29 Thread Jonathan Scott Duff
You have my permission as well. -Scott On Dec 29, 2007 7:04 AM, herbert breunung [EMAIL PROTECTED] wrote: thanks to chromatic, so i have ask Jonathan Scott Duff, Phil Crow and wait for /Adrianos answer. what i yesterday also forgot to mention is that rumor says that the emerald tables

[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 #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.

Multiline comments in Perl6

2007-12-29 Thread Christian Mueller
Hello list, i don't know the actually state in the discussion about multiline comments, but i would propose an idea.. a combination of POD's = and the traditional route char... =# this is a multi line comment #= =# comment #= this is not commented What you think about it? regards Christian