[perl #62970] Null PMC access when calling nonexistent sub in package

2009-02-15 Thread Vasily Chekalkin via RT
On Sun Feb 01 09:27:58 2009, masak wrote: > rakudo: package A {}; A::method_that_does_not_exist > rakudo 36249: OUTPUT«Null PMC access in invoke() [...] > * masak reports rakudobug Patch is here http://github.com/bacek/rakudo/commit/acdb19ee3ac09b390896c0f8f1fa32bcf7b7f9ae -- Bacek

[perl #63228] [PATCH] Support using $? variables and implement $?PROGRAM

2009-02-15 Thread via RT
# New Ticket Created by Chris Dolan # Please include the string: [perl #63228] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63228 > This patch adds support for '?' twigil variables to actions.pm and declares the $?PROGR

[perl #63226] [BUG] globals in !UNIT_START set up too late, or statements executed too early

2009-02-15 Thread via RT
# New Ticket Created by Chris Dolan # Please include the string: [perl #63226] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63226 > If you include statements in the body of a package, class, etc. declaration, those are

[perl #61836] Rakudo cannot take the minimum of undef

2009-02-15 Thread Vasily Chekalkin via RT
On Mon Jan 05 11:53:29 2009, moritz wrote: > Carl MXXsak (via RT) wrote: > > # New Ticket Created by "Carl Mäsak" > > # Please include the string: [perl #61836] > > # in the subject line of all future correspondence about this issue. > > # http://rt.perl.org/rt3/Ticket/Display.html?id=61836 > > >

[perl #63232] Rakudo doesn't Z together mixes of elements and ranges properly

2009-02-15 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63232] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63232 > rakudo: for "a".."c" Z ("?", "a".."b") -> $x1, $x2 { say $x1, $x2 } rakudo a0a390: OUT

Re: [perl #51340] [RESOLVED] [BUG] compiler detection failure

2009-02-15 Thread Peter Hans van den Muijzenberg
Hi, James Keenan via RT schreef: According to our records, your request regarding "[BUG] compiler detection failure" has been resolved. If you have any further questions or concerns, please respond to this message. For other topics, please create a new ticket. http://rt.perl.org/rt3/Ticke

[perl #62168] .comb doesn't take zero arguments in Rakudo

2009-02-15 Thread Vasily Chekalkin via RT
On Sat Jan 10 09:42:10 2009, masak wrote: > rakudo: " a b c".comb.perl.say > rakudo 35345: OUTPUT«too few arguments passed (1) - 4 params > expected [...] > rakudo: " a b c".comb(" ").perl.say > rakudo 35345: OUTPUT«invoke() not implemented in class > 'Perl6Str' [...] > rakudo: " a b c".com

[perl #63236] 0 but Bool::True seems to put rakudo in an infinite loop

2009-02-15 Thread via RT
# New Ticket Created by fREW Schmidt # Please include the string: [perl #63236] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63236 >

[perl #61732] Null PMC access when catching 'fail' using a CATCH block in Rakudo

2009-02-15 Thread Vasily Chekalkin via RT
On Fri Dec 26 05:05:27 2008, masak wrote: > rakudo: sub foo { fail }; sub bar { foo(); 2; CATCH { 1; } }; > say bar(); > rakudo 34376: OUTPUT«Null PMC access in isa()␤ [...] > meh > that's strange. > that one didn't involve any 'whan' clause. > no smartmatching. > I might have misdiagnosed t

[perl #61480] Rakudo shouldn't die on unrecognized initializers to constructors

2009-02-15 Thread Vasily Chekalkin via RT
On Thu Dec 18 09:52:52 2008, masak wrote: > rakudo: class Base { has $.foo }; class Deriving is Base {}; > say Deriving.new( :foo(5) ).foo() > rakudo 34068: OUTPUT[You passed an initialization parameter > that does not have a matching attribute. [...] > and in general, it's not an error to pass

[perl #62772] Rakudo dies on ord('')

2009-02-15 Thread Vasily Chekalkin via RT
On Mon Jan 26 06:45:24 2009, masak wrote: > rakudo: ord(""); say "Alive" > rakudo 36030: OUTPUT«Cannot get character of empty string [...] > should Rakudo really die here? > * masak thinks not > I think it should fail() > <[particle]> return a Failure > <[particle]> see what perl 5 does > good

[perl #61840] [TODO] min= and max= operators

2009-02-15 Thread Vasily Chekalkin via RT
On Mon Jan 05 12:00:25 2009, moritz wrote: > Carl MXXsak (via RT) wrote: > > > > $ perl6 -e 'my $a = 5; $a min= 2; say $a' > > get_iter() not implemented in class 'Integer' > > [...] > > Added tests to t/spec/S03-operators/assign.t (which grows to an > alarming > size...) Rakudo fix available at

[perl #63230] [TODO] Implement renaming of named parameters in Rakudo

2009-02-15 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63230] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63230 > $ perl6 -e 'sub formalize($text, :case($case), :justify($justify)) {...}' Unable to pars

Implementing $?LINE and other S02 compile-time vars

2009-02-15 Thread Chris Dolan
I've been considering how to inject compile-time values ($?VAR) into Rakudo. I was thinking about how to implement $?LINE and came up with two ways to do it: on the fly and post processing. On the fly would require some significant work in PGE, I think, to keep the line count correct in t

Re: r25328 - docs/Perl6/Spec

2009-02-15 Thread Timothy S. Nelson
On Sat, 14 Feb 2009, Leon Timmermans wrote: On Sat, Feb 14, 2009 at 6:38 AM, wrote: +=head2 IO::Openable + +This role implies that the object can be connected to, or listened on. + +=over 4 + +=item open + + method Bool open(); + +Attempts to open the handle. Depending on the implementation,

r25348 - docs/Perl6/Spec

2009-02-15 Thread pugs-commits
Author: wayland Date: 2009-02-16 04:50:39 +0100 (Mon, 16 Feb 2009) New Revision: 25348 Modified: docs/Perl6/Spec/S16-io.pod Log: S16: Changed my $| stupidity to select() Modified: docs/Perl6/Spec/S16-io.pod === --- docs/Perl6/Sp

Re: r25329 - docs/Perl6/Spec

2009-02-15 Thread Timothy S. Nelson
On Sat, 14 Feb 2009, Mark J. Reed wrote: That mention of $| is confusing, since $| has nothing to do with changing where output goes in p5. All it does is cause output to be autoflushed.. The Perl5 analog to $DEFOUT would seem to be the select() function... Agreed, fixed. Btw, thanks to eve

Re: r25328 - docs/Perl6/Spec

2009-02-15 Thread Brandon S. Allbery KF8NH
On 2009 Feb 15, at 22:50, Timothy S. Nelson wrote: On Sat, 14 Feb 2009, Leon Timmermans wrote: +=item sysopen I vote for sysopen (and all other sys functions) to be wiped out of existence. Disagree -- I think these belong in IO::Unbuffered. Maybe we could make that optional, though I

Re: r25328 - docs/Perl6/Spec

2009-02-15 Thread Timothy S. Nelson
On Sun, 15 Feb 2009, Brandon S. Allbery KF8NH wrote: On 2009 Feb 15, at 22:50, Timothy S. Nelson wrote: On Sat, 14 Feb 2009, Leon Timmermans wrote: +=item sysopen I vote for sysopen (and all other sys functions) to be wiped out of existence. Disagree -- I think these belong in IO::Unbuffe

Call-and-response grammars?

2009-02-15 Thread Timothy S. Nelson
Ok, I'm wondering about how a protocol such as ACAP could be implemented as a grammar. For those not familiar with ACAP, it bears some resemblance to IMAP (and a more distant resemblance to POP3 and SMTP), with the difference that the server can send information to the client unsolicited (thi

Periodic Table of the Operators, version 3

2009-02-15 Thread Mark Lentczner
Friends - Just a note to let you know that the third version of the Periodic Table of the Operators is complete: http://www.ozonehouse.com/mark/periodic/ Thanks again to all those who helped me dive deep into perl6. - MtnViewMark Mark Lentczner http://www.ozonehouse.com/ma

S17-concurrency question

2009-02-15 Thread Timothy S. Nelson
Hi. I have a question for the S17-concurrency people. Say I wanted to write a POP3 server. I want to receive a username and password from the client. I want things to be interruptable during this, but it's also impossible to sensibly roll things back like they were before the conne

[perl #61764] [TODO] Implement ff and fff

2009-02-15 Thread Vasily Chekalkin via RT
On Sat Dec 27 09:50:09 2008, masak wrote: > Implement the ff and fff infix operators, as described in S03:2345. Ok, first cut of flipflops implemented in http://github.com/bacek/rakudo/commit/08fffbc6d62ab72e0dd9f80098275afce0f32fbf and http://github.com/bacek/rakudo/commit/7dfa1b13819bcb3d3d3f51