>>>>> "MTM" == Mike T Machenry <[EMAIL PROTECTED]> writes:
MTM> "It is said that 'only perl can parse Perl'" -- Wikipedia that is true. MTM> I have been searching the 'net for a Perl Parser. I haven't had MTM> any luck on CPAN and I found a dead project on MTM> sourceforge(t). Does anyone know of any Perl parsers that exist? MTM> I understand that lex/yacc can't parse Perl due to ambiguities in MTM> the syntax. I would be quite happen with a 95% correct parse MTM> tree. I also do not care which language the parser is written MTM> in. I would like to hear about any and all parsers that anyone MTM> knows about though even if you think they might kind of suck. look on cpan for something called PPI. it is a perl 'lexer' written in perl. it isn't trying to fully parse perl but to tokenize it for general analysis and other things. its author has used it to make an index of all the source code on cpan so you could look up which modules used a particular module or some idiom. but you haven't stated the reason you want this mythical parser. maybe telling us that will help solve the real and deeper problem. :) uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

