Re: [perl #52054] [CAGE]: Make all PDDs conform to coding standards

2008-09-06 Thread Christoph Otto
James Keenan via RT wrote: The PDDs in docs/pdds/ are now in substantial compliance with the coding standard, those in docs/pdds/draft/ much less so. I'll leave this ticket open, but it's the sort of thing that only needs some cage cleaning attention every month or so. The non-draft PDDs are

adverbial form of Pairs notation question

2008-09-06 Thread Илья
Hello there, what :foo should exactly produce? At first I was expecting: foo = but in Rakudo: foo = [] and it looks like the right thing on the other hand. (I have started this topic in the November mail list http://groups.google.com/group/november-wiki/browse_thread/thread/939216e836f69baa )

Re: [ PATCH ] Broken link on parrotcode.org dev page - list item Parrot Testing Status

2008-09-06 Thread Allison Randal
Ronald Schmidt wrote: I applied for an account and built what seems to me to be an appropriate Parrot Testing Status page. My proposed link target is http://www.parrot.org/wiki/some-testing-status-tools . If someone wants to set me up as a site editor I will fix the link myself otherwise the

[svn:parrot-pdd] r30814 - trunk/docs/pdds/draft

2008-09-06 Thread allison
Author: allison Date: Sat Sep 6 02:24:42 2008 New Revision: 30814 Modified: trunk/docs/pdds/draft/pdd30_install.pod trunk/docs/pdds/draft/pdd31_hll_interop.pod Log: [cage] Update two draft PDDs so they meet the coding standards. Modified: trunk/docs/pdds/draft/pdd30_install.pod

Re: [perl #52054] [CAGE]: Make all PDDs conform to coding standards

2008-09-06 Thread Allison Randal
Christoph Otto wrote: The non-draft PDDs are all passing t/codingstd/pdd_format.t as of r30810, but two of the draft PDDs aren't. Since they're still drafts and as such are very likely to change, it doesn't seem worthwhile to bring them into compliance or to have a test depend on them. I

Re: [svn:parrot-pdd] r30569 - trunk/docs/pdds

2008-09-06 Thread Allison Randal
jerry gay wrote: the sugar for what can be on the left side of an equals sign needs to be changed. simply having a first parameter with OUT isn't enough. the same thing happens for $P0 = push $S1 which is legal pir syntax, but obscure at best. ops must have some means of specifying (perhaps

Re: How may I help maintain parrot.org?

2008-09-06 Thread Allison Randal
Alejandro Gómez de Argüello y de Laburu wrote: Following the instructions I found in How to Get Involved at the parrot.org website, I hereby volunteer to help maintain said website by updating existing pages or adding new content, or in other ways such as my skills and time allow. Thanks for

Should !~~ /regex/ set $/?

2008-09-06 Thread Moritz Lenz
The subject says it all: should !~~ with a regex on the RHS set $/? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

[perl #52976] [BUG] perl6 stand-alone binary broken

2008-09-06 Thread Christoph Otto via RT
On Wed Apr 16 14:24:28 2008, [EMAIL PROTECTED] wrote: On Wednesday 16 April 2008 10:49:15 Christoph Otto (Volt) wrote: The perl6 stand-alone binary chokes on chromatic's mmd example (http://www.oreillynet.com/onlamp/blog/2008/04/multiple_dispatch_now_please .html) under linux/x86. The

[perl #51838] [BUG] cygwin build fails

2008-09-06 Thread Christoph Otto via RT
On Tue Mar 18 14:05:34 2008, rurban wrote: It's time to use Configure.pl with the option --without-crypto Or to add -lcrypto to the cmdline. Configure.pl fails to pick it up apparently. my %Parrot::Config::Generated::PConfig contains -lcrypto in libs 'libs' = '-ldl -lcrypt -lgmp

[perl #48439] [TODO] [configure] compiling Parrot with LLVM

2008-09-06 Thread Christoph Otto via RT
On Mon Dec 10 08:52:27 2007, [EMAIL PROTECTED] wrote: Marton Papp has successfully compiled Parrot with LLVM on Windows with mingw-make (it's failing 18 tests, which is impressively low for a first run on a new compiler). Below is his summary of the steps he followed. I'd like to extract

[perl #48176] [TODO] [pugs] Warning: use of uninitialized value

2008-09-06 Thread Christoph Otto via RT
On Wed Dec 05 04:53:15 2007, pcoch wrote: In languages/pugs/pmc/pugscapture.pmc there are todo items of the form: /* XXX Warning: use of uninitialized value */ This looks very similar to RT#48170 which was in the regex language. Does this todo item mean that we should be *warning* about

[perl #32087] [PATCH] .include with an absolute path

2008-09-06 Thread Christoph Otto via RT
On Fri Sep 05 00:58:51 2008, cotto wrote: On Fri Aug 01 06:44:05 2008, coke wrote: On Thu, Jul 31, 2008 at 7:35 PM, James Keenan via RT [EMAIL PROTECTED] wrote: Coke: Given the points Leo made and the fact that there has been nothing from the OP in 4 years, can we close this ticket?

[perl #58626] default and when * execute even when another when clause is used

2008-09-06 Thread Stephen Simmons
# New Ticket Created by Stephen Simmons # Please include the string: [perl #58626] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58626 In the attached code, there is a fairly simple example of a case statement using

[svn:parrot-pdd] r30809 - trunk/docs/pdds/draft

2008-09-06 Thread cotto
Author: cotto Date: Fri Sep 5 23:06:22 2008 New Revision: 30809 Modified: trunk/docs/pdds/draft/pdd31_hll_interop.pod Log: [pdd] replace some stray tabs with spaces Modified: trunk/docs/pdds/draft/pdd31_hll_interop.pod

[perl #50878] [BUG] is_equal vtable function not callable in C

2008-09-06 Thread Christoph Otto via RT
On Fri Feb 15 02:43:05 2008, [EMAIL PROTECTED] wrote: They're marked as MMD in vtable.tbl, so my guess is that they're not directly callable by vtable pointer from C. Fdocs/mmd.pod (though admittedly out of date) suggests that mmd_dispatch_* is the right approach. -- c Sounds good

[perl #58628] Re: [ PATCH ] Broken link on parrotcode.org dev page - list item Parrot Testing Status

2008-09-06 Thread via RT
# New Ticket Created by Allison Randal # Please include the string: [perl #58628] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58628 Ronald Schmidt wrote: I applied for an account and built what seems to me to be

[perl #54938] [BUG] Double free

2008-09-06 Thread Christoph Otto via RT
On Tue May 27 13:33:11 2008, [EMAIL PROTECTED] wrote: Running this program: sub foo($a) {say $a} ; my $x = ; on Ubuntu 8.04 with latest Parrot from svn gives this: $ ./perl6 test.p6 Statement not terminated properly at line 1, near = ;\n current instr.: 'parrot;PGE::Util;die' pc

[perl #55196] [BUG] print/say opcodes have different float precision

2008-09-06 Thread Christoph Otto via RT
On Mon Jun 02 13:08:27 2008, [EMAIL PROTECTED] wrote: On Monday 02 June 2008 12:27:17 Bernhard Schmalhofer wrote: The behavior of .sub main $N0 = 3.14159 say $N0 print $N0 print \n .end surprised me, as I got: [EMAIL PROTECTED]:~/devel/Parrot/trunk$ uname -a

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

2008-09-06 Thread cotto
Author: cotto Date: Fri Sep 5 23:19:14 2008 New Revision: 30810 Modified: trunk/docs/pdds/pdd07_codingstd.pod trunk/docs/pdds/pdd09_gc.pod trunk/docs/pdds/pdd19_pir.pod trunk/docs/pdds/pdd27_multiple_dispatch.pod Log: [pdd] make non-draft PDDs pass pdd_format.t Modified:

[perl #52854] [bug] Build failure with G++

2008-09-06 Thread Christoph Otto via RT
On Mon Apr 14 08:07:32 2008, [EMAIL PROTECTED] wrote: On Mon, Apr 14, 2008 at 11:40:01AM +0530, Senaka Fernando wrote: On Mon, Apr 14, 2008 at 6:33 AM, chromatic [EMAIL PROTECTED] wrote: Thanks, applied as r26965, except for the patch to compilers/imcc/imclexer.c, which is a

[perl #48172] [TODO] [pugs] Getting nonexistent value, exception or undef?

2008-09-06 Thread Christoph Otto via RT
On Wed Dec 05 04:49:22 2007, pcoch wrote: In languages/pugs/pmc/pugscapture.pmc:retval() there is the todo item: /* XXX getting non existent value, exception or undef? It looks like we need to determine at this point whether or not the value we are getting doesn't exist, is an exception,

[perl #54414] [BUG] t\benchmark\benchmarks.t failure (r27624)

2008-09-06 Thread Christoph Otto via RT
On Mon May 19 03:55:46 2008, [EMAIL PROTECTED] wrote: On Sun May 18 17:02:30 2008, ajr wrote: t\benchmark\benchmarks..28/37 # Failed test 'examples/benchmarks/primes2.pasm' # at t\benchmark\benchmarks.t line 219. # Exited with error code: 1 I think this problem is not

[perl #54110] [BUG] segfault in infix/n_infix with string arguments

2008-09-06 Thread Christoph Otto via RT
On Tue May 13 08:05:08 2008, coke wrote: On Tue, May 13, 2008 at 9:48 AM, via RT Patrick R. Michaud [EMAIL PROTECTED] wrote: # New Ticket Created by Patrick R. Michaud # Please include the string: [perl #54110] # in the subject line of all future correspondence about this issue. #

[perl #48971] [BUG] Parrot build failure no such instruction: `trap'

2008-09-06 Thread Christoph Otto via RT
On Sun May 04 03:11:12 2008, [EMAIL PROTECTED] wrote: Excellent, the patch from ticket 52214 works. Walter resolved

[perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread Christoph Otto via RT
On Sat Feb 16 17:23:47 2008, coke wrote: The example in the PDD now reads: $P0 = new 'String' $P0 = something bad happened $P1 = new ['parrot';'exception'], $P0 # create new exception object throw $P1 # throw it This code continues to not work.

[perl #54414] [BUG] t\benchmark\benchmarks.t failure (r27624)

2008-09-06 Thread Ronald Blaschke via RT
On Fri Sep 05 14:05:11 2008, cotto wrote: On Mon May 19 03:55:46 2008, [EMAIL PROTECTED] wrote: On Sun May 18 17:02:30 2008, ajr wrote: t\benchmark\benchmarks..28/37 # Failed test 'examples/benchmarks/primes2.pasm' # at t\benchmark\benchmarks.t line 219. # Exited with error

[perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread Bob Rogers
From: Christoph Otto via RT [EMAIL PROTECTED] Date: Fri, 05 Sep 2008 18:34:51 -0700 This code continues to not work. Would it be DTRT to copy/pasta some code . . . Only if it's not spaghetti code. ;-} -- Bob Rogers

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
On Sat, Sep 6, 2008 at 3:34 AM, Christoph Otto via RT [EMAIL PROTECTED] wrote: On Sat Feb 16 17:23:47 2008, coke wrote: The example in the PDD now reads: $P0 = new 'String' $P0 = something bad happened $P1 = new ['parrot';'exception'], $P0 # create new exception object throw $P1

Re: [perl #58626] default and when * execute even when another when clause is used

2008-09-06 Thread John M. Dlugosz
The when statements are just like if statements. After executing one, it goes on to the following statement which does not have to be a conditional statement. That is, you can mix when statements with plain unconditional statements. If multiple when conditions match, it runs all of them.

Re: Should !~~ /regex/ set $/?

2008-09-06 Thread Larry Wall
On Sat, Sep 06, 2008 at 11:44:05AM +0200, Moritz Lenz wrote: : The subject says it all: should !~~ with a regex on the RHS set $/? For now I would assume that the meta operator rewrites $a !~~ $b to (not $a ~~ $b) so .ACCEPTS has no clue that it is dealing with a negated operator. In

Re: [perl #58626] default and when * execute even when another when clause is used

2008-09-06 Thread Larry Wall
On Sat, Sep 06, 2008 at 11:38:42AM -0500, John M. Dlugosz wrote: The when statements are just like if statements. After executing one, it goes on to the following statement which does not have to be a conditional statement. That is, you can mix when statements with plain unconditional

Re: Should !~~ /regex/ set $/?

2008-09-06 Thread Nicholas Clark
On Sat, Sep 06, 2008 at 09:41:07AM -0700, Larry Wall wrote: On Sat, Sep 06, 2008 at 11:44:05AM +0200, Moritz Lenz wrote: : The subject says it all: should !~~ with a regex on the RHS set $/? For now I would assume that the meta operator rewrites $a !~~ $b to (not $a ~~ $b)

Re: Conceptual question on exception in S04

2008-09-06 Thread Larry Wall
On Wed, Sep 03, 2008 at 06:44:22PM -0500, John M. Dlugosz wrote: I'm trying to work out some details of this area, but I don't understand what S04 is trying to say. Could someone please point me in the right direction? I'd be happy to then edit the S04 to contribute. In S04, the

[perl #51464] [TODO] [PDD] add date stamps to PDD's

2008-09-06 Thread Christoph Otto via RT
On Fri Apr 04 16:52:39 2008, [EMAIL PROTECTED] wrote: On Fri Apr 04 04:30:17 2008, [EMAIL PROTECTED] wrote: One (possibly solvable) problem is that subversion tags don't substitute properly in the HTML generated versions on the website

Re: [perl #58626] default and when * execute even when another when clause is used

2008-09-06 Thread Stephen Simmons
On Sep 6, 2008, at 10:51 AM, Larry Wall wrote: On Sat, Sep 06, 2008 at 11:38:42AM -0500, John M. Dlugosz wrote: The when statements are just like if statements. After executing one, it goes on to the following statement which does not have to be a conditional statement. That is, you can

Re: Conceptual question on exception in S04

2008-09-06 Thread John M. Dlugosz
Larry Wall larry-at-wall.org |Perl 6| wrote: No, just the new exception, which merely has to contain the old unhandled exceptions somehow in case the user wants more information. OK, so it's more like the inner exception in Microsoft's .NET framework. My C++ exceptions have always had

Re: adverbial form of Pairs notation question

2008-09-06 Thread Larry Wall
On Sat, Sep 06, 2008 at 07:06:30PM +1100, Илья wrote: : Hello there, : what :foo should exactly produce? : At first I was expecting: : foo = : but in Rakudo: : foo = [] : and it looks like the right thing on the other hand. : : (I have started this topic in the November mail list :

Re: adverbial form of Pairs notation question

2008-09-06 Thread Brandon S. Allbery KF8NH
On 2008 Sep 6, at 13:57, Larry Wall wrote: But basically I think NIL is a mild form of failure anyway, so it's fine with me if () is a form of failure that is smart enough to be I'm thinking () is the non-scalar (list, array, capture, maybe hash) version of undef, which acts like a value

pdd23 - subs as exception handlers

2008-09-06 Thread Patrick R. Michaud
PDD23:41 says : =item Bpush_eh IINVOCABLE_PMC : : Push an invocable PMC -- usually a closure or, in rarer cases, a subroutine or : continuation -- onto the exception handler stack. : ... : If a IINVOCABLE_PMC is provided, Parrot pushes the pmc which will execute : if invoked, which has the

throw oddities in pdd23

2008-09-06 Thread Patrick R. Michaud
PDD23:67 has: : =item Bthrow IEXCEPTION : : Throw an exception consisting of the given IEXCEPTION PMC. Active exception : handlers (if any) will be invoked with IEXCEPTION as the only parameter. : : : =item Bthrow IEXCEPTION [ , ICONTINUATION ] : : Throw an exception consisting of the given

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
After some brief comment on irc, applied in r30833 -- Salu2

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
Sorry, the code I poste was bad. The valid form is: $P1 = new ['Exception'], $P0 # create new exception object -- Salu2

Re: [perl #57920] [PATCH] Suggestion for Parrot Configure test of AIO

2008-09-06 Thread Andy Dougherty
On Fri, 5 Sep 2008, James Keenan via RT wrote: On Thu Sep 04 19:22:56 2008, [EMAIL PROTECTED] wrote: FWIW, here is a data point: What happens on my Darwin/PPC (10.4) Mac at auto::aio: On Darwin, Configure.pl reports that AIO is unsupported. Follow-up question: If I 'locate aio'

Re: [PATCH] added links to dotnet/doc/contents.pod

2008-09-06 Thread Christoph Otto
Reini Urban wrote: Attached patch adds links to external dotnet ressources Jonathan mentioned (his paper, the specs), and the implementations. Jonathan should approve it because it links to a bad poem on VM's in his paper on page 1. No ticket because it's so simple. Thanks. This was applied

Re: [perl #52054] [CAGE]: Make all PDDs conform to coding standards

2008-09-06 Thread Christoph Otto
Allison Randal via RT wrote: Christoph Otto wrote: The non-draft PDDs are all passing t/codingstd/pdd_format.t as of r30810, but two of the draft PDDs aren't. Since they're still drafts and as such are very likely to change, it doesn't seem worthwhile to bring them into compliance or to have

Re: [svn:parrot] r30843 - trunk/src/pmc

2008-09-06 Thread chromatic
On Saturday 06 September 2008 18:41:25 Patrick R. Michaud wrote: On Sat, Sep 06, 2008 at 05:02:44PM -0700, [EMAIL PROTECTED] wrote: Log: Add hll_map method to parrotinterpreter.pmc ...doesn't seem to work yet, at least not on my system: $ cat x.pir .HLL 'Perl6', '' .sub 'main' :main

[perl #57920] [PATCH] Suggestion for Parrot Configure test of AIO

2008-09-06 Thread James Keenan via RT
On Sat Sep 06 16:46:08 2008, doughera wrote: ... what *else* would I need to have AIO available on Darwin? It looks like you already have it available. If you try with my patch in verbose mode, what, exactly, goes wrong such that Configure.pl concludes AIO is unsupported? See

Re: [perl #57920] [PATCH] Suggestion for Parrot Configure test of AIO

2008-09-06 Thread chromatic
On Saturday 06 September 2008 20:19:56 James Keenan via RT wrote: On Sat Sep 06 16:46:08 2008, doughera wrote: ... what *else* would I need to have AIO available on Darwin? It looks like you already have it available. If you try with my patch in verbose mode, what, exactly, goes wrong

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

2008-09-06 Thread larry
Author: larry Date: Sat Sep 6 21:22:00 2008 New Revision: 14580 Modified: doc/trunk/design/syn/S03.pod Log: where as Junctional infix resembling , but with order guaranteed Modified: doc/trunk/design/syn/S03.pod ==