develooper Front page | perl.perl6.language.data | Postings from August 2000

Re: Access to the perl6 parser

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
August 29, 2000 11:46
Subject:
Re: Access to the perl6 parser
Message ID:
4.3.2.7.0.20000829144303.00bdcac0@24.8.96.48
At 06:21 PM 8/29/00 +0000, Jim Edwards wrote:
> >
> >
> > Regardless, you can already do this in perl 5, and will undoubtedly be able
> > to do it in perl 6, with source filters.
>
>So why do we have to do
>$ip1=$i+1;                        # my pdl pet peave
>$f->slice("(0),$ip1,$i");
>
>instead of
>
>$f((0),$i+1,$i);       # substitute your favorite syntax here
>
>?

Because source filters are:

1) Relatively new (5.005 IIRC, but I could be mis-remembering)
2) A bloody pain in the neck to write

Lots of things could use 'em if they were easier to do. That's one of the 
goals of perl 6, I think.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About