On Sat, Aug 06, 2005 at 01:51:17AM +0400, Andrew Shitov wrote:
> > Parrot 0.2.3 "Serenity" Released!
>
> Possibly I'm growling again but I cannot run any Perl 6 programme with
> new Parrots.
>
> One-liner test.p6 containing 'print "perl 6";' is compiled to test.imc and
> cause an error:
The REA
> Parrot 0.2.3 "Serenity" Released!
Possibly I'm growling again but I cannot run any Perl 6 programme with
new Parrots.
One-liner test.p6 containing 'print "perl 6";' is compiled to test.imc and
cause an error:
C:\parrot-0.2.3\languages\perl6>perl perl6 test.p6
error:imcc:syntax error, unexpect
Seems like you left out the degenerate case for when you run out of pairs:
sub infix: (Scalar $x, 0) { $x }
On 2005-08-05 16:24, "Yuval Kogman" <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 05, 2005 at 11:36:16 -0700, Larry Wall wrote:
>
>> There's something to be said for having a way of inde
On Fri, Aug 05, 2005 at 11:36:16 -0700, Larry Wall wrote:
> There's something to be said for having a way of indexing into that
> using numeric subscripts. Certainly Lisp's extensible car/cdr notation
> is the wrong way to do it, but cdddr is certainly shorter than
>
> $pair.value.value.valu
On Fri, Aug 05, 2005 at 12:27:53AM +0200, Ingo Blechschmidt wrote:
: Hi,
:
: Andrew Shitov wrote:
: >> say $pair[0]; # a?
: >
: > It looks like $pair is an arrayref while 'say ref $pair' tells 'Pair'.
:
: right, this is why I asked, IMHO it's bogus.
Yes, for bare pairs, it's probably somew
On 8/5/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> ~Str;# ""? "Str"?
"Str"
> ~::Str; # ""? "Str"?
I don't know how :: works anymore. I'll avoid these.
> ~Str.meta; # ""? (fill in please)?
"Class"
>
On 8/5/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> my $str = "Hello";
> $str.ref = Int; # allowed?
> $str.meta = &some_sub.meta; # allowed?
I hardly think those work. Both of those require a change of
implementation, which we can't do generically. So
On Thu, Aug 04, 2005 at 10:48:49PM -0700, Brent 'Dax' Royal-Gordon wrote:
: Luke Palmer <[EMAIL PROTECTED]> wrote:
: > On 8/4/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote:
: > > my $undef = undef;
: > > say $undef.chars? # 0? undef? die?
: > > say chars $undef; # 0? undef? die?
:
Parrot 0.2.3 "Serenity" Released!
On behalf of the Parrot team I'm proud to announce another monthly
release of Parrot and I'd like to thank all involved people as well as
our sponsors for supporting us.
What is Parrot?
Parrot is a virtual machine aimed at running Perl6 and other dynamic
langua
Hi,
my $str = "Hello";
$str.ref = Int; # allowed?
$str.meta = &some_sub.meta; # allowed?
my $str = "Hello";
Str ::= Int; # allowed?
::Str ::= ::Int;# or is this allowed?
say $str; # still "Hello"?
Hi,
~Str;# ""? "Str"?
~::Str; # ""? "Str"?
~Str.meta; # ""? (fill in please)?
~::Str.meta; # ""? (fill in please)?
+Str; +::Str;
+Str.meta; +::Str.meta; # all errors?
?Str;
11 matches
Mail list logo