develooper Front page | | Postings from August 2000

Re: Access to the perl6 parser

Thread Previous | Thread Next
Dan Sugalski
August 29, 2000 11:12
Re: Access to the perl6 parser
Message ID:
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... :)


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About