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:12
Subject:
Re: Access to the perl6 parser
Message ID:
4.3.2.7.0.20000829140813.00bf16c0@24.8.96.48
At 06:05 PM 8/29/00 +0000, Jim Edwards wrote:

>IMHO if the perl6 core only allow access to the parser, than a module can 
>do just about anything including all of those things proposed in RFC 115 - 117.

That's sort of on the list of things to allow (I think Damian RFC'd it) but 
whether it happens depends on the resulting parse speed. Hardcoded parsers 
seem to run faster than more dynamic, extendable ones, so it might cost too 
much. OTOH, parse speeds might end up being a trivial part of the total 
program load/compile time, so it might not matter.

Regardless, you can already do this in perl 5, and will undoubtedly be able 
to do it in perl 6, with source filters. (If Damian can write perl that 
looks like Latin or Klingon, then python ought to be simple... :)

					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