> I just pulled the fresh rakudo sources, Configured them with
> --gen-parrot and the parrot build fails:
...
> ./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
...
> Null PMC access in get_pmc_keyed_str()
> gmake: *** [runtime/parrot/include/parrotlib.pbc ...
It looks like I'm ha
Author: lwall
Date: 2009-03-18 02:28:39 +0100 (Wed, 18 Mar 2009)
New Revision: 25880
Modified:
docs/Perl6/Spec/S03-operators.pod
docs/Perl6/Spec/S04-control.pod
Log:
create more semantic distance between terms and 0-ary functions
Modified: docs/Perl6/Spec/S03-operators.pod
On Tue Mar 17 00:06:31 2009, masak wrote:
> rakudo: my $frew; $frew ||= 5; say $frew;
> rakudo 84920e: OUTPUT«get_iter() not implemented in class
> 'Integer[...]
> rakudo: my $frew; $frew //= 5; say $frew;
> rakudo 84920e: OUTPUT«5»
> weird
> I wonder if maybe it's a parsing error
> fr
Nicholas Clark wrote:
On Tue, Mar 17, 2009 at 06:45:51PM +0100, Jonathan Worthington wrote:
Nicholas Clark wrote:
Yay. As does this?
my @bar = 1,2,3;
sub swatest {
(state @foo) = @bar;
my $x = @foo.perl;
@foo[0]++;
return $x
}
is swatest(), '[1, 2, 3]',
On Mon Mar 16 00:57:05 2009, richardh wrote:
> An .eigenstates method is needed for Object.
> ...
> Larry Wall wrote:
> I see no particular reason not to add an .eigenstates method to Object
> that returns a list of the object itself .
>
And so it is added in git 1ea27f2, plus tests.
Thanks!
J
On Tue, Mar 17, 2009 at 06:45:51PM +0100, Jonathan Worthington wrote:
> Nicholas Clark wrote:
> >Yay. As does this?
> >
> > my @bar = 1,2,3;
> > sub swatest {
> > (state @foo) = @bar;
> > my $x = @foo.perl;
> > @foo[0]++;
> > return $x
> > }
> > is swatest(), '[1, 2,
On Sun Mar 15 15:27:41 2009, moritz wrote:
> S12-objects.pod
> 1581:WHATthe protoobject of the type, stringifies to short
> name ~ '()'
>
> Currently it stringfies to short name without trailing ().
>
> If somebody submits a patch for it, I'll fix the test suite (which has
> this wron
Nicholas Clark via RT wrote:
> On Tue, Mar 17, 2009 at 05:59:52PM +0100, Jonathan Worthington wrote:
>> Nicholas Clark wrote:
>> >Do you have list assignment working properly? ie:
>> >
>> >state (@foo) = @bar;
>> >
>> >and, I think,
>> >
>> >state (@foo) = baz();
>> >
>> >
>> Aye, thankf
On Sun Mar 15 12:12:51 2009, richardh wrote:
> perl6
> > my @x=1|11,2,3;my $s=[+] @x; $s.perl.say; $s ~~ Junction and say 'hi'
> any(6, 16)
> Null PMC access in get_integer()
>
Fixed in git 90c8b8e.
> my @x=1|11,2,3;my $s=[+] @x; $s.perl.say; $s ~~ Junction and say 'hi'
any(6, 16)
hi
Thanks,
J
Nicholas Clark wrote:
Yay. As does this?
my @bar = 1,2,3;
sub swatest {
(state @foo) = @bar;
my $x = @foo.perl;
@foo[0]++;
return $x
}
is swatest(), '[1, 2, 3]', 'array state initialized correctly';
is swatest(), '[1, 2, 3]', 'array state retained betwe
On Thu Mar 12 15:29:54 2009, kru...@gmail.com wrote:
> diff --git a/build/gen_metaop_pir.pl b/build/gen_metaop_pir.pl
> index 3f858a3..78e4fce 100644
> --- a/build/gen_metaop_pir.pl
> +++ b/build/gen_metaop_pir.pl
> @@ -131,7 +131,7 @@ while (@ops) {
> .end\n);
>
> # LHS-dwimming hyp
On Tue, Mar 17, 2009 at 05:59:52PM +0100, Jonathan Worthington wrote:
> Nicholas Clark wrote:
> >Do you have list assignment working properly? ie:
> >
> >state (@foo) = @bar;
> >
> >and, I think,
> >
> >state (@foo) = baz();
> >
> >
> Aye, thankfully that just fell naturally out of Rakudo
Nicholas Clark wrote:
Do you have list assignment working properly? ie:
state (@foo) = @bar;
and, I think,
state (@foo) = baz();
Aye, thankfully that just fell naturally out of Rakudo's existing list
assignment implementation, though it was under-tested. So I just added:
my @
On Sun Jan 11 04:59:51 2009, masak wrote:
> Rakudo r35404 doesn't work according to spec in the area of 'state'
> variables and cloned blocks.
>
> $ perl6 -e 'my $i = 0; my $func = { state $x = $i++; say $x }; my ($a,
> $b) = $func.clone, $func.clone; $a(); $b(); $a()'
> 0
> 1
> 2
>
> According t
On Tue, Mar 17, 2009 at 09:19:55AM -0700, jn...@jnthn.net via RT wrote:
> On Wed Jul 16 01:47:29 2008, mor...@casella.verplant.org wrote:
> > State variables need to be implemented, the tests are already there in
> > S04-declarations/state.t
> >
> > As a side node (and related to RT #56748), rakud
On Wed Jul 16 01:47:29 2008, mor...@casella.verplant.org wrote:
> State variables need to be implemented, the tests are already there in
> S04-declarations/state.t
>
> As a side node (and related to RT #56748), rakudo as of r29490 gives a
> bogus error message when encountering a state declaration
On Wed Jul 16 01:47:29 2008, mor...@casella.verplant.org wrote:
> State variables need to be implemented, the tests are already there in
> S04-declarations/state.t
>
> As a side node (and related to RT #56748), rakudo as of r29490 gives a
> bogus error message when encountering a state declaration
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #63946]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=63946 >
rakudo: my $frew; $frew ||= 5; say $frew;
rakudo 84920e: OUTPUT«get_iter() not impleme
On 2009-Mar-17, at 2:16 am, Jon Lang wrote:
$choice.perl will return the same thing that the following would:
any($choice.eigenstates.«perl)
That is, it would return a Junction of Str, not a Str. So the
question is how to get something that returns an expression to the
effect of:
'any('
Darren Duncan wrote:
>
> Jon Lang wrote:
>>
>> Darren Duncan wrote:
>>> I would assume that invoking .perl on a Junction would result in Perl
>>> code
>>> consisting of the appropriate any/all/etc expression. -- Darren Duncan
>>
>> Tough to parse, though; and feels like a kludge. I expect better o
20 matches
Mail list logo