parser recommendation

rurpy at rurpy at
Wed Jun 4 02:03:45 CEST 2008

On Jun 3, 2:55 pm, "Filipe Fernandes" <fernandes... at> wrote:
> I haven't given up on pyparsing, although I'm now heavily leaning
> towards PLY as an end solution since lex and yacc parsing is available
> on other platforms as well.

Keep in mind that PLY's "compatibility" with YACC is functional,
not syntactical.  That is, you can not take a YACC file, replace
the actions with Python actions and feed it to PLY.

It's a shame that the Python world has no truly YACC compatible
parser like YAPP in the Perl world.

More information about the Python-list mailing list