On Fri, 18 Mar 2011 08:34:19 +1100, Moritz Lenz wrote:
Today I pushed a completely new socket implementation, which is much
closer to p5's IO::Socket::INET, and IMHO has a much saner interface.
For a client, write
my $c = IO::Socket::INET.new(:host('http://rakudo.org/'), :port(80));
# no sepa
Indicated patch doesn't work for me.
Additionally, my perl6 LWP::Simple module doesn't work any more.
Here's a simple test case with current rakudo/parrot:
$ perl6 -v
This is Rakudo Perl 6, version 2011.02-43-gbfdd78d built on parrot
3.1.0 RELEASE_3_1_0-700-gdb77547
Copyright 2008-2011, The Pe
Hi all,
I just downloaded and compiled rakudo/parrot, as in:
~/src/perl6/perl6-cache-memcached$ perl6 -v
This is Rakudo Perl 6, version 2011.02-43-gbfdd78d built on parrot 3.1.0
RELEASE_3_1_0-700-gdb77547
Copyright 2008-2011, The Perl Foundation
and I discovered that my LWP::Simple cod
On Thu, 22 Jul 2010 14:27:15 +0200, Will Coleda wrote:
Can we get some more smokers setup?
I would be interested.
How do I do that?
--
Cosimo
On Thu, 10 Jun 2010 09:17:23 +0200, Gerd Pokorra
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 = get_root_global ['parrot'; 'Digest'],
In data 10 giugno 2010 alle ore 08:48:42, Gerd Pokorra
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 if
you want and add a
On Wed, 09 Jun 2010 16:00:42 +0200, Gerd Pokorra
wrote:
Here is a simple example that works.
#!/usr/bin/perl6
Q:PIR {
load_bytecode 'Digest/MD5.pbc'
.local pmc md5sum, md5print
md5sum = get_root_global ['parrot'; 'Digest'], '_md5sum'
$P0 = md5sum('foo')
md5print = get_ro
On Wed, 09 Jun 2010 03:52:03 +0200, Will Coleda wrote:
Here's my best guess:
sub test (Str $test) {
my $result = Q:PIR {
# This loads into the /current/ HLL, but should probably load
into
# the /parrot/ HLL.
load_bytecode 'Digest/MD5.pbc'
.local pmc md5su
On Mon, 07 Jun 2010 02:11:05 +0200, Patrick R. Michaud
wrote:
On Sun, Jun 06, 2010 at 11:06:07PM +0200, Cosimo Streppone wrote:
Hi all,
Just for fun, I'm trying to write a Digest::MD5 module for Rakudo.
Right now I'm stuck with something like:
[...]
The MD5.pbc module lo
Hi all,
Just for fun, I'm trying to write a Digest::MD5 module for Rakudo.
Right now I'm stuck with something like:
sub test (Str $text) {
Q:PIR {
load_bytecode 'Digest/MD5.pbc'
$P0 = find_lex '$text'
$P1 = _md5sum($P0)
$S0 = _md5_hex($P1)
In data 27 mai 2009 alle ore 23:46:40, John M. Dlugosz
<2nb81l...@sneakemail.com> ha scritto:
Anything in the existing implementation that's hostile to Perl 6? Just
port it over by lightly editing the text or using a p5 module importer.
Yes, right, but that wouldn't use Perl 6 features.
T
In data 28 mai 2009 alle ore 00:13:19, Mark J. Reed
ha scritto:
You can write a sub to return the next step:
sub bondigi { state $n=1; return (, xx $n,
xx $n++); }
Nahh. That's too easy...
It's not fun :-)
but I think an idiomatic Perl 6 solution would have a proper lazy
Iterator.
Ye
Hi cool people,
the "Amazing Perl 6" thread was amazing.
It reminded me how Perl 6 looks interesting and fun.
So...
how can I write "properly", for some meaning of properly,
the Perl 6 equivalent of this:
http://search.cpan.org/dist/Games-BonDigi/
?
(
if it's not clear, you can run the ex
On Dom. 19 Oct. 2008 13:47:11, kjs wrote:
> I think the issue of inconsistent dll linkage has been resolved
recently
> by adding the YYMALLOC and YYFREE #defines to imcc source.
>
> Can other windows people confirm this? Then this ticket can be closed.
> Thank you very much,
Confirmed. Parrot r
Ok, picked up the committers challenge... :-)
I setup a working Win32/MSVC environment for parrot,
and I'm trying to address the Win32 related tickets.
I started with RT #52198, test failures on Win32.
There are still many .t files with failures.
The first one I started to look into is t/pmc/com
Steve Peters wrote:
On Feb 18, 2008 3:45 AM, via RT Ted Neward
<[EMAIL PROTECTED]> wrote:
# New Ticket Created by "Ted Neward"
# Please include the string: [perl #50956]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=50956 >
Hi all,
I'm in the process of refactoring existing pugs test suite,
for example t/builtins, into t/spec/S29-.
Questions:
- @array.uniq is not mentioned in S29.
Should it be in S29/List? or S29/Array?
- cis(), polar() and friends belong to S29/Num
while they should probably belong to S2
Jerry Gay via RT wrote:
applied as r24965.
it's causing a heck of a lot of failing tests. however, i'll leave them
in for a day or three, while we see what we can do to get them passing.
hint: getting 'fudge' working on rakudo would do us a world of good.
~jerry
Do you mean running:
perl6
Since I refactored the S29 tests into t/spec/S29-str,
the smartlinks don't display correctly anymore.
If you go here:
http://perlcabal.org/syn/S29.html
you will see that test scripts like "Context/eval"
display correctly, while "Str/split" is messed up,
seems with newline problems.
Anyone kn
Hi all,
I'm working on refactoring the perl6 spec test suite.
I have some doubts that probably some of you can clarify.
- Are smartlinks "stackable?"
That is, can I refer the same code to multiple links?
http://perlsix.org/svn/pugs/revision?rev=19471
- Is [1] the correct way of declaring "t
On Dom. 13 Gen. 2008 08:58:58, pmichaud wrote:
> On Sun, Jan 13, 2008 at 10:54:57AM +0100, Cosimo Streppone wrote:
> > I had discussed the [S29/subdir/*.t] structure with
> > particle over irc, but probably I misunderstood.
> >
> > So I'd better change these tests
Patrick wrote:
I've been hoping to avoid subdirs in the SXX directories.
In other words, instead of having
S29-functions/type1/*.t
S29-functions/type2/*.t
S29-functions/type3/*.t
I'd like to see
S29-type1/*.t
S29-type2/*.t
S29-type3/*.t
The idea is to have one directory under spe
jerry gay ha scritto:
On Jan 9, 2008 12:08 AM, Cosimo wrote:
I'm trying to play with perl6.exe.
I've wandered in the opened tickets for perl6 and
saw this one about `substr()':
http://rt.perl.org/rt3/Public/Bug/Display.html?id=44321
what we ultimately want is tests that cover the spec, which
jerry gay wrote:
On Jan 9, 2008 12:08 AM, Cosimo wrote:
So question is: would be useful to "port" the substr()
test script from Perl5's `t/op/substr.t' also to Perl6?
what we ultimately want is tests that cover the spec, which for
'substr' is probably very close to the perl 5 spec. however, m
I'm trying to play with perl6.exe.
I've wandered in the opened tickets for perl6 and
saw this one about `substr()':
http://rt.perl.org/rt3/Public/Bug/Display.html?id=44321
It ends with a patch that enables the 3rd optional
argument for substr(). I gave it a shot, and it seems to
work.
So questi
Cosimo wrote:
Patrick wrote:
[...] I also improved utf8_set_position
What happens if string already has `i->charpos > pos' ?
[... /me reads again the diff ...]
I realized while writing this that if `i->charpos > pos'.
you simply end up re-scanning the string from the start.
Is that correct
Patrick wrote:
[...] I also improved utf8_set_position
a bit so that it doesn't always have to restart position
counting from the beginning of the string. As a result,
compiling the actions.pl script on my machine goes from 39s to
a little over 28s -- about a 25% speed increase.
I have a doub
On Mer. 02 Gen. 2008 05:40:32, cosimo wrote:
> On Lun. 31 Dic. 2007 01:09:28, [EMAIL PROTECTED] wrote:
> > On Sunday 30 December 2007 14:05:38 Cosimo Streppone wrote:
> >
> > > I tried to follow chromatic's instructions to obtain a perl6
binar
On Lun. 31 Dic. 2007 01:09:28, [EMAIL PROTECTED] wrote:
> On Sunday 30 December 2007 14:05:38 Cosimo Streppone wrote:
>
> > I tried to follow chromatic's instructions to obtain a perl6 binary
> > but had some problems [...]
>
> > 3) In the final generated "
# New Ticket Created by "Cosimo Streppone"
# Please include the string: [perl #49238]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=49238 >
I tried to follow chromatic's instructions to obtain a perl6 b
James Keenan via RT wrote:
> Cosimo,
>
> The more I look at this, the more I wonder whether the test failure in
> 111-auto_gcc-01.t (reported below) has anything to do with the presence
> or absence of gdbm on one's OS or whether one's Perl was build with gdbm
> or not.
>
I'm sorry. I now realiz
James Keenan via RT wrote:
> Cosimo Streppone wrote:
>> # New Ticket Created by Cosimo Streppone
>> # Please include the string: [perl #47127]
>> # in the subject line of all future correspondence about this issue.
>> # http://rt.perl.org/rt3/Ticket/Display.html?id=4
Gaal Yahas wrote:
On 5/14/07, Cosimo Streppone <[EMAIL PROTECTED]> wrote:
# svn co https://svn.perl.org/parrot/trunk parrot
# cd parrot; perl Makefile.PL
# make smoke
[...]
* Sending data to smokeserver "http://smoke.parrotcode.org/smoke/";...
error: The submit
Hi all,
I'm trying to get my feet wet with Parrot, and I'd like
to contribute also for what I can.
Today I did a:
# svn co https://svn.perl.org/parrot/trunk parrot
# cd parrot; perl Makefile.PL
# make smoke
Results follow (tried also last week or so with parrot 0.4.11,
had the same resul
34 matches
Mail list logo