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.
- Sources inherited from project openSUSE:Leap:42.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.2:Update/python-ply && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
ply-3.9.tar.gz | 0000150750 147 KB | |
python-ply-shebangs.patch | 0000000368 368 Bytes | |
python-ply.changes | 0000006107 5.96 KB | |
python-ply.spec | 0000003167 3.09 KB |
Revision 4 (latest revision is 5)
Yuchen Lin (maxlin_factory)
accepted
request 429289
from
Dirk Mueller (dirkmueller)
(revision 4)
- update to 3.9: * Exposed the parser state number as the parser.state attribute in productions and error functions. * Fixed Issue #88. Python3 compatibility with ply/cpp. * Fixed Issue #93. Ply can crash if SyntaxError is raised inside a production. Not actually sure if the original implementation worked as documented at all. Yacc has been modified to follow the spec as outlined in the CHANGES noted for 11/27/07 below. * Fixed Issue #97. Failure with code validation when the original source files aren't present. Validation step now ignores the missing file. * Minor fixes to version numbers. - update to version 3.8: * Fixed issues related to Python 3.5. Patch contributed by Barry Warsaw. - update to version 3.7 * Fixed problems when reading table files from pickled data. * Fixed regression in handling of table modules if specified as module objects. See https://github.com/dabeaz/ply/issues/63 - clean up spec - add testing rig
Comments 0