Re: using MD5 parrot library in Q:PIR block

2010-06-10 Thread Gerd Pokorra
I think the easiest way would be to add a method in the file runtime/parrot/library/Digest/MD5.pir that gives the md5 checksum back as a string. I can look at the source code and try to do this for you if you want and add a method may be called _md5_sum_get. -- Gerd Am Mittwoch, den 09.06.2010,

Re: using MD5 parrot library in Q:PIR block

2010-06-10 Thread Cosimo Streppone
In data 10 giugno 2010 alle ore 08:48:42, Gerd Pokorra g...@zimt.uni-siegen.de ha scritto: I think the easiest way would be to add a method in the file runtime/parrot/library/Digest/MD5.pir that gives the md5 checksum back as a string. I can look at the source code and try to do this for you

Re: using MD5 parrot library in Q:PIR block

2010-06-10 Thread Cosimo Streppone
On Thu, 10 Jun 2010 09:17:23 +0200, Gerd Pokorra g...@zimt.uni-siegen.de wrote: #!/usr/bin/perl6 Q:PIR { load_bytecode 'Digest/MD5.pbc' .local pmc md5sum, md5_sum_get md5sum = get_root_global ['parrot'; 'Digest'], '_md5sum' $P0 = md5sum('foo') md5_sum_get =

[perl #75634] Rakudo goes into infinite loop on multiplied zero-width matches like: + or ws+

2010-06-10 Thread via RT
# New Ticket Created by Paweł Pabian # Please include the string: [perl #75634] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75634 [16:25] bbkr rakudo: grammar X { token TOP { ws+ } }; X.parse( ); # why it goes

Contribution to Perl 6 Week 6: help improve the sidebars in the book

2010-06-10 Thread Dean Serenevy
Here are some patches which 1) Modify Pod::PseudoPod::LaTeX to (when requested) emit LaTeX code which requires that certain environments be defined (rather than enforcing style in Pod::PseudoPod::LaTeX itself). In particular, the sidebar environment. Tests included. 2) Add a sidebar

[perl #75636] Hash slices not working with Array or GatherIterator

2010-06-10 Thread via RT
# New Ticket Created by Paweł Pabian # Please include the string: [perl #75636] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75636 Erlangen build: # testing with Array perl6 -e 'my @t=1,2; my %h; %...@t}=one,two;

[perl #75638] Multis are not exported by default

2010-06-10 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #75638] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75638 IIRC the spec says that multis should be exported by default, in Rakudo they are not

[perl #75644] [BUG] Error when reporting an error during parsing caused by doing a role with Lions containing each other in Rakudo

2010-06-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #75644] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75644 masak rakudo: role Lion[::T] {}; class LionMadeOfLions does Lion[Lion] {} p6eval

[perl #75646] [BUG] Null PMC access when printing a variable typed as ::foo in Rakudo

2010-06-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #75646] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75646 diakopter rakudo: my ::foo $x; say $x p6eval rakudo a54677: OUTPUT«Null PMC access in

[perl #75648] [BUG] [WEIRD] Internal parser error when parsing 'my ::a a' in Rakudo

2010-06-10 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #75648] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75648 diakopter rakudo: my ::a a p6eval rakudo a54677:

[perl #75654] Infinite list with ..

2010-06-10 Thread via RT
# New Ticket Created by Johnathan Swan # Please include the string: [perl #75654] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75654 Hi I discovered this a few days ago when messing around. My program tried to a

[perl #75640] calling nextsame in an proto causes a Null PMC Access

2010-06-10 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #75640] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75640 proto sub a($x) is export { say in proto; nextsame } sub a(Str $x) { say Str $x };

[perl #75604] [BUG] [mod] doesn't work in Rakudo

2010-06-10 Thread jn...@jnthn.net via RT
On Tue Jun 08 06:03:24 2010, masak wrote: masak rakudo: say [mod] 100, 99, 88, 77, 66, 55, 44 p6eval rakudo 34c1ba: OUTPUT«===SORRY!===␤Could not find sub infix:mod␤» masak huh?colomon huh. masak rakudo: say 100 mod 99 p6eval rakudo 34c1ba: OUTPUT«1␤» * masak submits rakudobug colomon