Python Lex & Yacc
PLY is yet another implementation of lex and yacc for Python. Some notable features include the fact that its implemented entirely in Python and it uses LALR(1) parsing which is efficient and well suited for larger grammars.
PLY provides most of the standard lex/yacc features including support for empty productions, precedence rules, error recovery, and support for ambiguous grammars.
PLY is extremely easy to use and provides very extensive error checking. It is compatible with both Python 2 and Python 3.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ply-3.11-py2.py3-none-any.whl (49.6 kB)||File type Wheel||Python version 3.6||Upload date||Hashes View|
|Filename, size ply-3.11.tar.gz (159.1 kB)||File type Source||Python version None||Upload date||Hashes View|