Basic Info:

Lex an yacc parsing tools for Python

license: gnu-lgpl-v2.1
install size: 439056
build date: 2019-01-29 23:54:45 +0000
package file: py34-ply-3.8.tgz
package size: 122044


PLY is a 100% Python implementation of the common parsing tools lex and yacc.
Here are a few highlights:

- PLY is very closely modeled after traditional lex/yacc. If you know how to
use these tools in C, you will find PLY to be similar.

- PLY provides *very* extensive error reporting and diagnostic information to
assist in parser construction. The original implementation was developed
for instructional purposes. As a result, the system tries to identify the
most common types of errors made by novice users.

- PLY provides full support for empty productions, error recovery, precedence
specifiers, and moderately ambiguous grammars.

- Parsing is based on LR-parsing which is fast, memory efficient, better
suited to large grammars, and which has a number of nice properties when
dealing with syntax errors and other parsing problems. Currently, PLY builds
its parsing tables using the LALR(1) algorithm used in yacc.

- PLY uses Python introspection features to build lexers and parsers. This
greatly simplifies the task of parser construction since it reduces the
number of files and eliminates the need to run a separate lex/yacc tool
before running your program.

- PLY can be used to build parsers for "real" programming languages. Although
it is not ultra-fast due to its Python implementation, PLY can be used to
parse grammars consisting of several hundred rules (as might be found for a
language like C). The lexer and LR parser are also reasonably efficient
when parsing typically sized programs. People have used PLY to build
parsers for C, C++, ADA, and other real programming languages.






Package List

File NameDateSize
lib/python3.4/site-packages/ply-3.8-py3.4.egg-info/PKG-INFO2019-01-29 16:54960 bytes
lib/python3.4/site-packages/ply-3.8-py3.4.egg-info/SOURCES.txt2019-01-29 16:544360 bytes
lib/python3.4/site-packages/ply-3.8-py3.4.egg-info/dependency_links.txt2019-01-29 16:541 bytes
lib/python3.4/site-packages/ply-3.8-py3.4.egg-info/top_level.txt2019-01-29 16:544 bytes
lib/python3.4/site-packages/ply/__init__.py2015-10-02 11:33102 bytes
lib/python3.4/site-packages/ply/__pycache__/__init__.cpython-34.pyc2019-01-29 16:54187 bytes
lib/python3.4/site-packages/ply/__pycache__/__init__.cpython-34.pyo2019-01-29 16:54187 bytes
lib/python3.4/site-packages/ply/cpp.py2015-10-02 11:3333368 bytes
lib/python3.4/site-packages/ply/__pycache__/cpp.cpython-34.pyc2019-01-29 16:5418375 bytes
lib/python3.4/site-packages/ply/__pycache__/cpp.cpython-34.pyo2019-01-29 16:5418375 bytes
lib/python3.4/site-packages/ply/ctokens.py2015-10-02 11:333177 bytes
lib/python3.4/site-packages/ply/__pycache__/ctokens.cpython-34.pyc2019-01-29 16:542326 bytes
lib/python3.4/site-packages/ply/__pycache__/ctokens.cpython-34.pyo2019-01-29 16:542326 bytes
lib/python3.4/site-packages/ply/lex.py2015-10-02 11:5442889 bytes
lib/python3.4/site-packages/ply/__pycache__/lex.cpython-34.pyc2019-01-29 16:5424294 bytes
lib/python3.4/site-packages/ply/__pycache__/lex.cpython-34.pyo2019-01-29 16:5424294 bytes
lib/python3.4/site-packages/ply/yacc.py2015-10-02 11:54135805 bytes
lib/python3.4/site-packages/ply/__pycache__/yacc.cpython-34.pyc2019-01-29 16:5461053 bytes
lib/python3.4/site-packages/ply/__pycache__/yacc.cpython-34.pyo2019-01-29 16:5460948 bytes
lib/python3.4/site-packages/ply/ygen.py2015-10-02 11:332251 bytes
lib/python3.4/site-packages/ply/__pycache__/ygen.cpython-34.pyc2019-01-29 16:541887 bytes
lib/python3.4/site-packages/ply/__pycache__/ygen.cpython-34.pyo2019-01-29 16:541887 bytes