Hi all! Which parser generator do you recommend to use for a Perl project. What I've looked at so far:
1. Berkeley Yacc for Perl - works pretty well, but is kinda limited. 2. Parse::RecDescent - very impressive feature set, but a little slow, and has been under-maintained (though it seemed to have improved slightly with several new releases in 2009). It also tends to be hard to debug its errors. 3. Parse::Yapp - http://search.cpan.org/dist/Parse-Yapp/ - I tried to use it in https://svn.berlios.de/svnroot/repos/web-cpan/Text-Qantor/ but it gives me an error for what appears to be a valid syntax, and for the life of me I cannot understand why it is. 4. There's a new version of GNU bison with support for multiple language backends. I tried writing a backend for Perl 5, but I gave up on the m4 hacking (I think that m4 must die!). 5. There's also ANTLR - http://www.antlr.org/ : http://www.antlr.org/wiki/display/ANTLR3/Code+Generation+Targets says: Perl - Early prototyping. Simple lexer is working. 6. Can I interact with the Parrot Grammar Engine (PGE)? Any input would be useful. -------------- I probably missed many others. Any recommendations would be appreciated. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ The Case for File Swapping - http://shlom.in/file-swap Chuck Norris read the entire English Wikipedia in 24 hours. Twice.