On behalf of the Parrot team I'm proud to announce another
major release of Parrot. More than 530 svn checkins and 1000
added tests by numerous folks bump up the version to 0.4.0.
I'd like to thank all involved people as well as our
sponsors for supporting us.
What is Parrot?
Parrot is a
what is a good translation of the following C into perl6?
code
#include stdio.h
void print(int y[])
{
int ii;
for (ii = 0; 9 ii; ++ii)
{
printf(%d , y[ii]);
}
printf(\n);
}
int main()
{
int x = 0; int y[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; y[x++]++; /* line
that matters
Mike Li skribis 2005-12-04 13:10 (-0500):
in perl5, i would've written something like:
my $x = 0; my @y = 1..9; @y[$x++]++; print $x\n; print @y\n
but in perl6, the '@' sigil always means list context, so should i
write the following?
my $x = 0; my @y = 1..9; [EMAIL PROTECTED]; print
On Sun, 2005-12-04 at 13:10 -0500, Mike Li wrote:
what is a good translation of the following C into perl6?
code
[...]
int x = 0; int y[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; y[x++]++; /* line
that matters */
[...]
/code
in perl5, i would've written something like:
code
my $x = 0; my @y =
There's a bikeshedding question of some visibility: now that we have a
Cfail builtin, what do we do with CTest::fail?
There's plenty of code out there that uses fail as an exported function
from pugs' Test.pm or Perl 5 testing modules. We want to keep Test
primitives exported and fun to use, to
I've run into a problem today with my Perl 6 coding, which is due to
a perceived design flaw in the current Perl 6 spec (this was
discussed on #perl6 just now, mainly between myself and autrijus), so
I'm bringing it up here.
And yes, autrijus thinks the behaviour I'm seeing in Pugs is
On 12/5/05, Gaal Yahas [EMAIL PROTECTED] wrote:
There's a bikeshedding question of some visibility: now that we have a
Cfail builtin, what do we do with CTest::fail?
Is it possible to do nothing with it? That is, can we coerce the Test
module to understand when the main program fails? This