spelunking in the meta-ops in STD.pm

2009-01-18 Thread Mark Lentczner
I was looking through STD.pm at the parsing of metaops. I was exploring to see if the legal metaops for a given operator could be notated on the operator chart. What I found was some oddness... op= (infix_postfix_meta_operator:sym<=>) The internal op

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-18 Thread Allison Randal
Jonathan Worthington wrote: I'm curious - is anyone else doing a HLL on Parrot that uses morph? If nobody is, is it worth spending time on, or even worth keeping? 'morph' was added specifically for the Perl 5 behavior of changing types when assigned to. But really, a more accurate representa

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-18 Thread Allison Randal
Christoph Otto wrote: Allison Randal wrote: (Actually, at the moment you're required to declare all parent attributes in the ATTR list before the child attributes, so inherited attributes *are* child attributes.) When I say "attributes", I mean the things that are declared in .pmc files righ

Method Postfix sleuthing...

2009-01-18 Thread Mark Lentczner
Here's some more sleuthing and differences between STD.pm and Synopsis 3: Methodcall precedence operators in STD.pm seem to include this set: .meth - single call .?meth - 0 or 1 call .+meth - 1 or more call .*meth - 0 or more call .=meth - mutating

[perl #62472] Rakudo fails to parse a my declaration in an if statement

2009-01-18 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #62472] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62472 > rakudo: if 5 > my $a = 4 { say $a } rakudo 35707: OUTPUT«Unable to set lvalue on PAST:

Re: A Logo design for Rakudo Perl 6

2009-01-18 Thread Richard Dice
Thank you for pointing this out. This is a reality I've lived with for so long that it didn't even cross my mind to caution others (who haven't been so tied up in the legal and organizational aspects of Perl) when this thread appeared. O'Reilly is the only organization that can have trademarks th

Re: [perl #62478] C-style for loop does not give an error

2009-01-18 Thread Mark J. Reed
On Sat, Jan 17, 2009 at 5:44 PM, via RT Gabor Szabo wrote: > for (my $i = 1; $i <= 3; $i++) { say $i; } > > prints 2 instead of giving an intelligent error message that one should use > loop > or better yet for 1..3 -> $i { } A warning, surely? As far as I can tell, the above is perfectly lega

Re: Roles definition

2009-01-18 Thread Carl Mäsak
Илья (>): > I use role to mix in some functionality for testing: > > my $s = November::Storage::File.new does Testing; > > And I have Role definition _after_ this: > > role Testing { ... } > > Now this is fall with: > > Null PMC access in isa() > current instr.: 'infix:does' pc 20660 (src/builtins/

Roles definition

2009-01-18 Thread Илья
Hi there! I use role to mix in some functionality for testing: my $s = November::Storage::File.new does Testing; And I have Role definition _after_ this: role Testing { ... } Now this is fall with: Null PMC access in isa() current instr.: 'infix:does' pc 20660 (src/builtins/op.pir:403) called

[perl #62476] TODO 1..8:by(2) not yet implemented

2009-01-18 Thread via RT
# New Ticket Created by Gabor Szabo # Please include the string: [perl #62476] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62476 > for 1..8:by(2) -> $i { say $i; } Gabor

Re: A Logo design for Rakudo Perl 6

2009-01-18 Thread ajr
> Justin Simoni You may have to be careful about the camel imagery; I think O'Reilly have a legal lock on camel-related graphics in association with Perl. Richard Dice can probably give you more details. -- Email and shopping with the feelgood factor! 55% of income to good causes. http://ww

Re: Rakudo leaving the Parrot nest

2009-01-18 Thread diakopter
On Jan 14, 9:01 pm, pmich...@pobox.com (Patrick R. Michaud) wrote: Sorry for the 'tldr' reply... > Source code repository > -- > This is the immediate issue at hand, because we need to move Rakudo > out of the Parrot repository so that it can cleanly move to its new > home at

[perl #62478] C-style for loop does not give an error

2009-01-18 Thread via RT
# New Ticket Created by Gabor Szabo # Please include the string: [perl #62478] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62478 > for (my $i = 1; $i <= 3; $i++) { say $i; } prints 2 instead of giving an intelligent err

[perl #62474] Rakudo forgets to clone when pushing xx'ed values to an array

2009-01-18 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #62474] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62474 > $ perl6 -e 'my @a = "a" xx 5; @a[1] = "b"; say @a' abaaa $ perl6 -e 'push my @a, "a" xx

[perl #62462] rakudo -V does not work

2009-01-18 Thread via RT
# New Ticket Created by Gabor Szabo # Please include the string: [perl #62462] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62462 > ga...@notebook:~/work/parrot$ ./parrot languages/perl6/perl6.pbc -v This is Rakudo Perl 6

Re: design of the Prelude (was Re: Rakudo leaving the Parrot nest)

2009-01-18 Thread ajr
The Prelude could be helpful for training. I've been trying to work out a logical path into Perl 6 for quite some time, not least because it's been a moving target. If there's a set of definitions that a computer can follow, humans should be able to move along that path too. -- Email and sh

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-18 Thread Christoph Otto
Allison Randal wrote: Christoph Otto via RT wrote: I'm running into a snag trying to implement this. It turns out that many lines which use the PMC_x_val macros use them on different types of PMCs, especially parents and children (e.g. FixedPMCArray and ResizablePMCArray). There are also some