py27-ply - Lex an yacc parsing tools for Python

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py27-ply-3.8.tgz
Package name py27-ply
Package version 3.8
Package release -
Package architecture i386
Package type tgz
Category devel
License gnu-lgpl-v2.1
Maintainer -
Download size 73.28 KB
Installed size 444.14 KB
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 Version Architecture Repository
py27-ply-3.8.tgz 3.8 amd64 NetBSD
py27-ply - - -


Name Value
py27-setuptools >= 0.8
python27 >= 2.7.1nb2


Type URL
Binary Package py27-ply-3.8.tgz
Source Package py27-ply

Install Howto

Install py27-ply tgz package:

# pkg_add py27-ply

See Also

Package Description
py27-polib-1.1.0.tgz Python library to parse and manage gettext catalogs
py27-portend-2.3.tgz TCP port monitoring utilities
py27-postgresql-5.0.6.tgz Python interface to PostgreSQL
py27-powerlaw-1.4.5.tgz Toolbox for analysis of heavy-tailed distributions
py27-poyo-0.4.0.tgz YAML Parser for Python
py27-pqueue-0.2nb1.tgz Priority-queues using fibonacci heaps
py27-precis-i18n-1.0.0.tgz PRECIS-i18n: Internationalized Usernames and Passwords
py27-pretend-1.0.9.tgz Library for stubbing in Python
py27-prewikka- Prelude-IDS console
py27-proj-1.9.4nb2.tgz Python wrapper for proj
py27-prometheus_client-0.6.0.tgz Prometheus instrumentation library for Python applications
py27-prompt_toolkit-1.0.15.tgz Library for building powerful interactive command lines
py27-prompt_toolkit-2.0.9.tgz Library for building powerful interactive command lines
py27-proteus-4.2.0.tgz Library to access Tryton's models like a client
py27-protobuf-3.7.0.tgz Python bindings for protobuf