I know question Lex and Yacc in PHP was asked before but 1 year ago.
Is there any new mature PHP parser generator now? My searches drove me to the following ones, what do you think about them, any others?
[Answer :] Somebody gave me this wonderful link to an old question : Is there an alternative for flex/bison that is usable on 8-bit embedded systems?
This posts allowed me to understand most of the ANTLR code generated. So my choice keeps being the same : ANTLR although the project seems dead. I hope I wont have to alter the code as I would like to keep it maintainable.
I will wait a bit to see if there is another answer otherwise I'll accept your advise to keep using ANTLR
I'd propose to give ANTLR a try. ANTLRWorks might be helpful.
I wrote an LL(1) parser generator myself in pure PHP, since I wasn't aware of other PHP-based solutions.