# New Ticket Created by Chris Dolan
# Please include the string: [perl #63152]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63152
The attached patch brings Rakudo up to the level of NQP as a language
for grammar
# New Ticket Created by Chris Dolan
# Please include the string: [perl #63154]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63154
The simple attached patch allows embedded code in PGE to call back
into Rakudo.
On Thu Jan 29 02:18:55 2009, masak wrote:
masak so protoobjects are defined?
masak rakudo: class A {}; my A $a; say $a.defined
p6eval rakudo 36139: OUTPUT«1»
moritz_ well, that's wrong
* masak submits rakudobug
moritz_ perl6: my $a; say $a.defined
p6eval rakudo 36139: OUTPUT«0»
p6eval
On Tue Jan 27 05:27:07 2009, masak wrote:
masak rakudo: class A { has $.b; }; while shift [A.new( :b(0) )] -
$a { say $a.b; $a.clone( :b($a.b + 1) ); say $a.b; last; }
polyglotbot OUTPUT[01]
* masak submits rakudobug
Fixed in git 59024e0 and added pretty much this exact code as a test
case
On Tue Feb 03 07:25:43 2009, masak wrote:
Parrot r36318 (before the merge that broke Rakudo), and Rakudo 21f374.
$ perl6 -e 'my $a = 5; say $a.PARROT; say $a .. 5'
Int
5
$ perl6 -e 'my $a = 5; sub foo($a) { say $a.PARROT; say $a .. 5 };
foo($a)'
ObjectRef-Int
Undefined value shifted from
On Wed Feb 11 05:15:12 2009, jn...@jnthn.net wrote:
On Fri Jan 30 01:29:38 2009, masak wrote:
The failure during PIR compilation turned out to be due to an undeclared
identifier 'B'.
$ cat A.pm
use v6;
class A {
has B $!b;
}
$ cat A/B.pm
use v6;
use A;
class A::B
On Thu Dec 25 06:49:28 2008, masak wrote:
Rakudo r34342 sometimes destroys the original object when running
.clone(). This works:
$ cat right.p6 class A { has $.b; }
my @q = A.new( :b(1) );
my $p = shift @q;
$p.clone( :b($p.b + 1) );
say $p.b;
$ perl6 right.p6
1
But when a while
On Sat Jan 24 08:40:24 2009, masak wrote:
Rakudo r35957:
$ perl6 -e 'grammar G { regex TOP {} }'
Could not find non-existent sub TOP
[...]
This is the wrong error message to give. The empty regex in TOP should
be disallowed.
After fixes for a related ticket earlier, this now reports:
On Tue, Feb 10, 2009 at 08:32:50PM -0800, Chris Dolan wrote:
The simple attached patch allows embedded code in PGE to call back
into Rakudo. The double curlies are still necessary due to PGE
implementation details. With this patch the following simple
examples work:
% perl6 -e ' ~~
On Wed Dec 31 13:10:48 2008, masak wrote:
TimToady and Grammar.parse($string) should work
masak is that specced?
TimToady or StoryGrammar.new($string).TOP
[particle] yes, trying to help you Get It Right.
masak TimToady: I gotta write this down somewhere.
Matt-W .parse($string) on a grammar
On Sat Jan 24 08:38:49 2009, masak wrote:
It's r35957, and Rakudo seems to hang on the following:
$ perl6 -e 'grammar G {}; G.parse()'
Putting in a 'regex TOP { something }' seems to work... but it's a bit
unintuitive that nothing happens without it, not even an error
message.
Fixed in
On Wed, Feb 11, 2009 at 05:02:52AM -0800, jn...@jnthn.net via RT wrote:
Was more clone-related fun. I suspect when we've been calling Parrot's
clone directly, we'll usually want to really be calling .clone() on the
object, since it can handle ObjectRef chains. That fixes this issue. (Of
Patrick, done:
- Forwarded message from nicho...@hexten.net -
Envelope-to: n...@ccl4.org
Delivery-date: Wed, 11 Feb 2009 20:45:22 +
Delivered-To: tapx-com...@hexten.net
From: nicho...@hexten.net
To: tapx-com...@hexten.net
Subject: [1255] Avoid using -l in the one liner that
13 matches
Mail list logo