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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash||File type||Python version||Upload date|
|ply-3.11-py2.py3-none-any.whl (49.6 kB) View hashes||Wheel||3.6|
|ply-3.11.tar.gz (159.1 kB) View hashes||Source||None|