Re: Access to the perl6 parser

[email protected] (Dan Sugalski) Tue, 29 Aug 2000 14:45:17 -0400
Newsgroups perl.perl6.language.data
Message-ID <[email protected]>
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
[email protected]                         have teddy bears and even
                                      teddy bears get drunk