[perl #58830] [BUG] && or defined and && bug

2008-09-13 Thread Vasily Chekalkin via RT
Hello. This is parsing bug. "say defined $a and defined %b{$a}" parsed as "(say defined $a) and defined %b{$a}" -- Bacek.

[perl #58828] Make calleable &-sigil parameters work in rakudo

2008-09-13 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #58828] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58828 > In Rakudo r31066, this works... $ ./perl6 -e 'sub a($b) { $b(5) }; a(&say)' # cool! 5

[perl #58830] [BUG] && or defined and && bug

2008-09-13 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #58830] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58830 > Hi, look like bug (in r31017): my $k = 'bar'; my %s; say defined $k; # 1 say defined %s

[perl #58826] Non-rw attributes are not changeable from within a class in Rakudo

2008-09-13 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #58826] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58826 > Rakudo r31066 works under the assumption that the absence of "is rw" on attributes means

[perl #58812] Tcl Segfaults parrot

2008-09-13 Thread François PERRAD via RT
On Sat Sep 13 06:01:58 2008, coke wrote: > On Fri, Sep 12, 2008 at 10:54 PM, chromatic <[EMAIL PROTECTED]> wrote: > > On Friday 12 September 2008 19:48:30 Will Coleda wrote: > > > > > > Rough guess: you have a HLL type map before you load Tcl's dynpmcs. > If so, > > change the order of operations a

Re: [perl #58812] Tcl Segfaults parrot

2008-09-13 Thread chromatic
On Friday 12 September 2008 19:48:30 Will Coleda wrote: > After many weeks away from tcl, I tried to do a make test today > (r31046) and found a segfault. > > I can't easily generate PIR to narrow it down, because even the --pir > option is segfaulting. > > doing a build and just running "../../pa

Full Time Incomes With Paid Surveys

2008-09-13 Thread robin clark
Fortune 500 companies need me. Each day I help these companies to make millions. I'm not a marketing whiz or an ex sales executive. Actually to be honest I know absolutely nothing about business. But what I do know about is what I like. The products I buy. And guess what: That's the exact info lar

Re: [svn:parrot] r31094 - branches/cygwin070patches/runtime/parrot/include

2008-09-13 Thread chromatic
On Saturday 13 September 2008 15:58:20 [EMAIL PROTECTED] wrote: > Author: rurban > Date: Sat Sep 13 15:58:20 2008 > New Revision: 31094 > > Modified: >branches/cygwin070patches/runtime/parrot/include/test_more.pir > > Log: > adopt pdd30 > > --- branches/cygwin070patches/runtime/parrot/include/

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-13 Thread Vasily Chekalkin
chromatic wrote: On Saturday 13 September 2008 04:51:04 Vasily Chekalkin wrote: Another question: there is a lot of PMC_\S+_val accesses to Key pmc. Should they be replaced with VTABLE analogues as well? Or Key isn't supposed to be inherited by some other class and it will only sacrifice perfor

[perl #58840] [BUG] Parrot::Test Check for filehandle before comparing with eq to '/dev/null'

2008-09-13 Thread via RT
# New Ticket Created by Reini Urban # Please include the string: [perl #58840] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58840 > --- osname= cygwin osvers= 1.5.25(0.15642) arch= cygwin-thread-multi-64int cc= gcc

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Patrick R. Michaud
On Sat, Sep 13, 2008 at 01:55:05PM -0400, Will Coleda wrote: > >> > +CONTROL_TAKE > >> > } exception_type_enum; > >> > >> Tcl can currently deal with OK, CONTINUE, BREAK, ERROR, and RETURN. > >> > >> What's TAKE? > > > > TAKE is like CONTROL_RETURN except that it signals that we expect > >

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Will Coleda
On Sat, Sep 13, 2008 at 10:52 AM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Sat, Sep 13, 2008 at 09:09:58AM -0400, Will Coleda wrote: >> > --- trunk/include/parrot/exceptions.h (original) >> > +++ trunk/include/parrot/exceptions.h Fri Sep 12 21:05:37 2008 >> > @@ -87,7 +87,8 @@ >> >

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-13 Thread chromatic
On Saturday 13 September 2008 04:51:04 Vasily Chekalkin wrote: > Another question: there is a lot of PMC_\S+_val accesses to Key pmc. > Should they be replaced with VTABLE analogues as well? Or Key isn't > supposed to be inherited by some other class and it will only sacrifice > performance? The

Recommended Perl 6 best practices?

2008-09-13 Thread Conrad Schneiker
Is there something more up-to-date concerning "Perl 6 best practices" that are presently-recommended (by p6l or @Larry) than the following item on the Perl 6 wiki? Perl 5 Books with Perl 6 Relevance * "Perl

[perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread James Keenan via RT
On Sat Sep 13 09:17:22 2008, [EMAIL PROTECTED] wrote: > > > Also, your patch causes two tests in t/steps/auto_icu-01.t to fail. > > You are right. I forget to change the tests according. > If the change to "config/auto/icu.pm" should be applied the tests > should > also be changed. > > for exam

[perl #58660] [PATCH] pbc_merge messes up line numbers

2008-09-13 Thread Bob Rogers
Fixed in r31070. -- Bob 2008-09-13 12:15:48: revision: 31070; author: rgrjr * src/pbc_merge.c: + (pbc_merge_debugs): Fix off-by-one error in mapping update (RT#586

Re: [perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Gerd Pokorra
Am Samstag, den 13.09.2008, 15:02 +0200 schrieb James Keenan via RT: > > Can you explain a bit more about the rationale for adding this option to > Configure.pl? > I think I is necessary to tell parrot to work on a computer with utf-8 encoding also with the same encoding, so that for example the

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Patrick R. Michaud
On Sat, Sep 13, 2008 at 09:09:58AM -0400, Will Coleda wrote: > > --- trunk/include/parrot/exceptions.h (original) > > +++ trunk/include/parrot/exceptions.h Fri Sep 12 21:05:37 2008 > > @@ -87,7 +87,8 @@ > > CONTROL_OK, > > CONTROL_BREAK, > > CONTROL_CONTINUE, > > -

Re: [svn:parrot] r31045 - trunk/languages/perl6/src/classes

2008-09-13 Thread Patrick R. Michaud
On Sat, Sep 13, 2008 at 02:38:23PM +0200, Jonathan Worthington wrote: > Patrick R. Michaud wrote: >> I'd be happy to get PGE to attach whatever attributes or re-bless >> the subs it generates to be Regex subs if we can come up with >> a reasonably clean way to do that. >> > I've pretty much deci

Re: [svn:parrot] r31046 - in trunk: languages/perl6 languages/perl6/src/builtins languages/perl6/src/parser runtime/parrot/library

2008-09-13 Thread Patrick R. Michaud
On Sat, Sep 13, 2008 at 02:30:30PM +0200, Jonathan Worthington wrote: >>> (2) Test.pm gets Object rather than Any on its multis; this may or >>> may not be the Right Thing. >> perl6-language may end up disagreeing with me on this, but I would >> much prefer things (from a implementation boots

Re: [perl #58812] Tcl Segfaults parrot

2008-09-13 Thread Will Coleda
On Sat, Sep 13, 2008 at 9:33 AM, François PERRAD via RT <[EMAIL PROTECTED]> wrote: > On Sat Sep 13 06:01:58 2008, coke wrote: >> On Fri, Sep 12, 2008 at 10:54 PM, chromatic <[EMAIL PROTECTED]> wrote: >> > On Friday 12 September 2008 19:48:30 Will Coleda wrote: >> > >> > >> > Rough guess: you have a

[perl #58636] Must Instantiate Class PMCs Before Using Them in HLL Mappings

2008-09-13 Thread Will Coleda via RT
On Sat Sep 13 06:37:12 2008, coke wrote: > Merged the two relevant tickets. -- Will "Coke" Coleda

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Will Coleda
On Sat, Sep 13, 2008 at 12:05 AM, <[EMAIL PROTECTED]> wrote: > Author: tene > Date: Fri Sep 12 21:05:37 2008 > New Revision: 31049 > > Modified: > trunk/include/parrot/exceptions.h > trunk/languages/perl6/src/builtins/control.pir > trunk/languages/perl6/src/parser/actions.pm > trunk/langua

[perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread James Keenan via RT
On Sat Sep 13 05:13:50 2008, [EMAIL PROTECTED] wrote: > Hello, > > I am sorry for the late response. I was some days offline. The patch is > now in a single patch file (generated with svn diff) and extended a > little bit. > Gerd: Thanks for your patch. For future reference: There's no need

Re: [perl #58812] Tcl Segfaults parrot

2008-09-13 Thread Will Coleda
On Fri, Sep 12, 2008 at 10:54 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Friday 12 September 2008 19:48:30 Will Coleda wrote: > >> After many weeks away from tcl, I tried to do a make test today >> (r31046) and found a segfault. >> >> I can't easily generate PIR to narrow it down, because even t

Re: [perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Mark J. Reed
If it's a single patch file, why did you still attach it as a tar? On 9/13/08, Gerd Pokorra <[EMAIL PROTECTED]> wrote: > Hello, > > I am sorry for the late response. I was some days offline. The patch is > now in a single patch file (generated with svn diff) and extended a > little bit. > > Gerd

Re: [svn:parrot] r31042 - trunk/languages/perl6/src/classes

2008-09-13 Thread Jonathan Worthington
Patrick R. Michaud wrote: On Fri, Sep 12, 2008 at 04:41:38PM -0700, [EMAIL PROTECTED] wrote: [rakudo] Constraints in a signature should actually be represented as an all Junction, not an array. You may have thought of this already, but it'd be worthwhile to consider how we might handle

Re: [svn:parrot] r31045 - trunk/languages/perl6/src/classes

2008-09-13 Thread Jonathan Worthington
Patrick R. Michaud wrote: On Fri, Sep 12, 2008 at 04:55:39PM -0700, [EMAIL PROTECTED] wrote: Log: [rakudo] If we are calling ACCEPTS in a multi-dispatch to do a type-check, then because blocks are not differentiated from regexes at the moment we get exceptions when trying to store $/. This

Re: [svn:parrot] r31046 - in trunk: languages/perl6 languages/perl6/src/builtins languages/perl6/src/parser runtime/parrot/library

2008-09-13 Thread Jonathan Worthington
Yay...verbose commit messages = I can haz useful input. :-) Patrick R. Michaud wrote: On Fri, Sep 12, 2008 at 05:03:20PM -0700, [EMAIL PROTECTED] wrote: [...] (2) Test.pm gets Object rather than Any on its multis; this may or may not be the Right Thing. perl6-language may end up disa

[perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Gerd Pokorra
Hello, I am sorry for the late response. I was some days offline. The patch is now in a single patch file (generated with svn diff) and extended a little bit. Gerd Pokorra patch.tar Description: Unix tar archive

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-13 Thread Vasily Chekalkin
Hello. Another question: there is a lot of PMC_\S+_val accesses to Key pmc. Should they be replaced with VTABLE analogues as well? Or Key isn't supposed to be inherited by some other class and it will only sacrifice performance? -- Bacek.

Re: throw oddities in pdd23

2008-09-13 Thread Stephen Weeks
Not long ago, Patrick R. Michaud proclaimed... > Personally I like the idea that "any PMC can be thrown as an > exception", which would seem to argue against forcing resume > continuations into the thrown PMC (which might not have a slot > for them). So, rather than saying that anything thrown as

[perl #58824] Inheriting from imported classes is broken in Rakudo

2008-09-13 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #58824] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58824 > Rakudo r31066 is experiencing problems with classes defined in "use"d modules. $ perl6

[perl #58818] [BUG] Problem when directly assigning object attributes for self.new

2008-09-13 Thread via RT
# New Ticket Created by Chris Fields # Please include the string: [perl #58818] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58818 > When attempting to set up a simple clone method (awaiting .clone to be implemented), I

[perl #58816] [BUG] Fwd: [november] Re: strange concatenation

2008-09-13 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #58816] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58816 > Hello there, please, look at this (sorry I have tried to make it smaller): grammar Test

Re: [perl #46681] [TODO] [C] Use strerror_r instead of strerror

2008-09-13 Thread Christoph Otto
After looking around Parrot and realizing that there were several other places where strerror is used, I'm trying a different approach. The attached patch adds config/gen/platform/generic/strerror.c, which contains a new function Parrot_strerror. This is just a wrapper to abstract away the non