On Sat, Jan 21, 2006 at 04:35:00PM +0800, Audrey Tang (autrijus) wrote: : Moreover, writing a Perl 5 parser in PGE alone is... Very difficult. : It can be done (eg. PPI), but taking it and emit PIR is a nontrivial : task that would not magically happen.
Actually, PPI is not a good example of completeness, since PPI punts on the meaning of anything below the expression level. LaIt doesn't know the relative precedence of operators, for instance, last I checked. But yes, the main point of writing the P5-to-P5 [sic] translator is so that nobody ever has to write a Perl 5 parser ever again. It just happens that I also need one of those for the P5-to-P6 translator. :-) Larry