[perl #116423] [BUG] say 1.0000000000000000000000000000001 makes wrong denominator

2016-04-07 Thread Matthew Wilson via RT
13:56 < diakopter> m: say 1.001 # Rat fail? 13:56 <+camelia> rakudo-moar 61d231: OUTPUT«1.3641037050347531␤» 13:57 < psch> m: say 1.001.WHAT 13:57 <+camelia> rakudo-moar 61d231: OUTPUT«(Rat)␤» 13:57 < psch> m: say 1.000

[perl #115566] [BUG] Variables declared in quasi blocks don't work in Rakudo

2016-04-07 Thread Matthew Wilson via RT
new behavior: 13:48 m: use experimental :macros; macro foo { quasi { my $a = "OH HAI"; say $a } }; foo 13:48 rakudo-moar 61d231: OUTPUT«===SORRY!===␤Optimizer: No lexical $a found␤»

[perl #114672] [BUG] LTA error message: wrong class reported in non-existent attribute error in Rakudo

2016-04-07 Thread Matthew Wilson via RT
Moar still segfaults: 13:35 m: class A {}; class B is A { has $!x = 5; our method foo(A:) { say $!x } }; &B::foo(A.new) 13:36 rakudo-moar 61d231: OUTPUT«(signal SEGV)»

[perl #114554] [BUG] Definition of zero-length postfix operator wrongly allowed in Rakudo

2016-04-07 Thread Matthew Wilson via RT
new behavior: 13:30 m: sub postfix:{}($a) { say "$a bracey brace" }; 42{} 13:30 rakudo-moar 61d231: OUTPUT«===SORRY!===␤Internal error: find_var_decl could not find $_␤»

[perl #109586] .pick on a large range needs more entropy

2016-04-07 Thread Matthew Wilson via RT
12:52 < diakopter> m: say (^2**64).pick.fmt('%64b') 12:52 <+camelia> rakudo-moar 61d231: OUTPUT« 111001010001011100011101000␤» 12:52 < diakopter> m: say (^2**64).pick.fmt('%64b') 12:52 <+camelia> rakudo-moar 61d231: OUTPUT«010001

[perl #81974] [BUG] LTA error message when something isn't a number in a sequence operator in Rakudo

2016-04-07 Thread Matthew Wilson via RT
resolved 12:27 m: (0, {last if $^a==$^b; (1..5).pick} ... *).perl.say 12:27 rakudo-moar 61d231: OUTPUT«Cannot .elems a lazy list␤ in block at /tmp/s8pj85e1Wc line 1␤␤Actually thrown at:␤ in block at /tmp/s8pj85e1Wc line 1␤␤»

[perl #79294] [BUG] $*PERL should be version of Perl, not version of Rakudo in Rakudo

2016-04-07 Thread Matthew Wilson via RT
resolved 12:25 m: say $*PERL 12:25 rakudo-moar 61d231: OUTPUT«Perl 6 (6.c)␤»

[perl #78278] [BUG] The optional $_ seems to default to $CALLER::_, not $OUTER::_ in Rakudo

2016-04-07 Thread Matthew Wilson via RT
new behavior: 12:18 m: my $b; { my $_ = 5; $b = { .say } }; $_ = 42; $b() 12:18 rakudo-moar 61d231: OUTPUT«Potential difficulties:␤ Redeclaration of symbol $_␤at /tmp/7gI9FhwrCH:1␤--> my $b; { my $_⏏ = 5; $b = { .say } }; $_ = 42; $b()␤42␤»

[perl #78870] [BUG] Wrapping a detached method breaks method deferral in Rakudo

2016-04-07 Thread Matthew Wilson via RT
new behavior: 12:16 rakudo: class A { method foo { say "A" } }; class B is A { method foo { say "B"; nextsame } }; my &x = B.WALK(:name)[0]; &x.wrap: { say "wrap"; nextsame }; x(B.new) 12:16 rakudo-moar 61d231: OUTPUT«wrap␤B␤Attempt to ret

[perl #81136] Capture reference doesn't work in lookahead assertions

2016-04-07 Thread Matthew Wilson via RT
seems fixed to me 12:12 m: grammar test { token a { a }; token b { b }; token TOP { > };}; test.parse("abc").say 12:12 rakudo-moar 61d231: OUTPUT«Nil␤»

[perl #78276] [BUG] Null PMC access when calling a multi sub with a parameter narrowed by a subtype that does a regex match in Rakudo

2016-04-07 Thread Matthew Wilson via RT
The original code works now 12:09 m: subset Greeting of Str where { /:i ^oh \s+ \w+ '!'?$/ }; subset LolGreeting of Str where { .words[1].lc eq 'hai' }; multi detect(Str) { "not a greeting" }; multi detect(Greeting) { "regular greeting" };

Fwd: [Boston.pm] Tech Meeting Tuesday

2013-12-06 Thread Matthew Wilson
FYI -- Forwarded message -- From: "Bill Ricker" Date: Dec 6, 2013 6:25 PM Subject: [Boston.pm] Tech Meeting Tuesday To: "Boston Perl Mongers" , "Boston Perl Mongers (announce)" Cc: Tuesday December 10, 2013 E51-376 Tim King - Benchmarking Perl6 vs Perl5 * Perl 6's suitability fo

Re: [perl #120480] recursion_limit bad assumption

2013-11-14 Thread Matthew Wilson
"Even though we don't have a recursion limit for other backends, I can greatly imagine there would be some utility to adding one at some point in the future." +1 On Thu, Nov 14, 2013 at 6:34 AM, Patrick R. Michaud wrote: > On Thu, Nov 14, 2013 at 06:13:39AM -0800, Will Coleda via RT wrote: > >

Re: Licensing: Perl 6 specification and test suite

2013-11-05 Thread Matthew Wilson
frettled, Right, it's just the AL2 requires you to thoroughly rename the project's main name(s) if you redistribute a modified version.. -Matthew On Tue, Nov 5, 2013 at 7:21 AM, Jan Ingvoldstad wrote: > On Tue, Nov 5, 2013 at 3:36 PM, Moritz Lenz wrote: > >> I have no idea if the AL2 is well

Re: NQP JVM prototype faster than Perl 5

2013-02-02 Thread Matthew Wilson
Did you mean to use $z in the say output of the nqp and perl versions of the microbenchmark, or did you mean to run it twice? On Sat, Feb 2, 2013 at 10:43 AM, Nicholas Clark wrote: > This is surprising, interesting and pleasing... > > There's some example NQP code to time calculating Fibonacci

Re: NQP JVM prototype faster than Perl 5

2013-02-02 Thread Matthew Wilson
nk you. -- Darren Duncan > > > On 2013.02.02 4:29 PM, Matthew Wilson wrote: > >> QAST is the protocol rakudo and NQP use to send abstract syntax trees to >> the VM-specific compiler. PIRT is the target for parrot, and JAST is the >> target for nqp-jvm. You can view it

Re: NQP JVM prototype faster than Perl 5

2013-02-02 Thread Matthew Wilson
while parsing NQP code. On Sat, Feb 2, 2013 at 4:26 PM, Matthew Wilson wrote: > I'm sorry; I was just filling out what the last letter in the acronym QAST > is. Search for QAST instead. > > > On Sat, Feb 2, 2013 at 4:21 PM, yary wrote: > >> This doesn't happen

Re: NQP JVM prototype faster than Perl 5

2013-02-02 Thread Matthew Wilson
I'm sorry; I was just filling out what the last letter in the acronym QAST is. Search for QAST instead. On Sat, Feb 2, 2013 at 4:21 PM, yary wrote: > This doesn't happen very often. Google tells me > > Your search - *QASTree nqp* - did not match any documents. > > where does one read more abou

Re: NQP JVM prototype faster than Perl 5

2013-02-02 Thread Matthew Wilson
absolutely, though to be precise you'll want to compile to QASTrees in the NQP environment (not to NQP code itself). On Sat, Feb 2, 2013 at 2:32 PM, Darren Duncan wrote: > So here's a question ... > > Is it now, or should it soon be, reasonable to treat NQP as its own entity > that is a build ta

[perl #74622] GatherIterator.perl flattens output sometimes.

2012-05-30 Thread Matthew Wilson via RT
different behavior for the first one: 13:34 < diakopter> r: say ((1,2) X ).perl 13:34 <+p6eval> rakudo e2d876: OUTPUT«((ListIter.new(),), (ListIter.new(),), (ListIter.new(),), (ListIter.new(),)).list␤»

Re: Ideas for a "Object-Belongs-to-Thread" threading model

2010-05-12 Thread Matthew Wilson
On Wed, May 12, 2010 at 8:57 PM, Alex Elsayed wrote: > Forgot to send this to the list. > > -- Forwarded message -- > From: Alex Elsayed ... > It's also CPS based, which fits pretty well. > Here's another, one that might fit more readily with perlesque/CLR: Actors that Unify T

Re: perl6 compiler

2010-03-19 Thread Matthew Wilson
As written in pmichaud's journal entries, "stability" is explicitly *not* (and never was) one of the goals of the April 2010 release of Rakudo. On Fri, Mar 19, 2010 at 7:24 AM, Steve Pitchford wrote: > I think this question was largly addressed in the first link? > > On Fri, Mar 19, 2010 at 12:59

Re: One-pass parsing and forward type references

2010-02-01 Thread Matthew Wilson
On Mon, Feb 1, 2010 at 9:32 AM, Larry Wall wrote: > But I also think that type recursion is likelier to indicate a design > error than function recursion, so I'm not sure how far down this road > we want to go.  We could, for instance, create a new type name every I was going to say "I use self-r

Re: s/ DateTime <-> Instant / TAI /

2009-09-09 Thread Matthew Wilson
Dare I suggest TAIME? I do. On 9/9/09, Richard Hainsworth wrote: > Carl Mäsak wrote: >> Darren (>), commit-bot (>>): >> +Returns a TAI epoch value for the current time. >>> Shouldn't the result type of time() be an "Instant" object (Instant and >>> Duration are defined in S02) rather th

Re: Grammars that generate stuff

2009-03-28 Thread Matthew Wilson
On Sat, Mar 28, 2009 at 1:48 AM, Timothy S. Nelson wrote: >Perl 6 has a general language (grammars) for taking some input and a > grammar, and separating the data from the formatting, as it were. > >Ideally, it'd be possible to specify one grammar that would act both > for parsing

Re: Logo considerations - 3 logos needed

2009-03-25 Thread Matthew Wilson
On Wed, Mar 25, 2009 at 6:06 PM, Larry Wall wrote: > > http://www.wall.org/~larry/cameliafav.ico > > out to be necessary. Hand-crafted anti-aliasing is your friend. :) > Larry > firefox at 3025%: cameliafav.ico all blown up. [groan] http://feat

Re: Rakudo leaving the Parrot nest

2009-01-17 Thread Matthew Wilson
hurt, or defensive about their debunking or non-adoption. :D > With that background in place, I'll now (with great trepidation) > open the discussion for others to comment and/or make suggestions > of what they'd like to see changed about the way we currently > manage Rakudo Perl. > > Thanks in advance, > > Pm Sorry for expanding the thread to include the Perl 6 web properties ideas in addition to the Rakudo proposals. I registered those domain names originally exactly for this purpose (for the Perl 6 language and its implementations to have homes), so I'm excited that they could be used for that purpose. I hope you all catch my implication that all the other Perl 6 implementations could & would have similar hosting opportunities available and provided. -Matthew Wilson (diakopter) diakop...@gmail.com

Re: [svn:perl6-synopsis] r14494 - doc/trunk/design/syn

2008-01-24 Thread Matthew Wilson
> BEGIN (right now at compile time) > UNITCHECK (at end of this compilation unit) > CHECK (at end of main compilation) >(compile time finishes) >...time passes... >(run time starts) > INIT > (main starts running) > ENTER (every block entry) > START (f