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
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
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
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
# 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:
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
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
Илья (>):
> 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/
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
# 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
> 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
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
# 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
# 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
# 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
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
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
17 matches
Mail list logo