./devel/ply, Python Lex-Yacc

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.9nb5, Package name: ply-3.9nb5, Maintainer: nonaka

PLY is a Python-only implementation of the popular compiler construction
tools lex and yacc. The implementation borrows ideas from a number of
previous efforts; most notably John Aycock's SPARK toolkit. However, the
overall flavor of the implementation is more closely modeled after the C
version of lex and yacc. The other significant feature of PLY is that it
provides extensive input validation and error reporting--much more so than
other Python parsing tools.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 147.217 KB

Version history: (Expand)


CVS history: (Expand)


   2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247)
Log message:
*: recursive bump for Python 3.11 as new default
   2022-06-30 13:19:02 by Nia Alarie | Files touched by this commit (524)
Log message:
*: Revbump packages that use Python at runtime without a PKGNAME prefix
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-12-04 21:45:51 by Nia Alarie | Files touched by this commit (456)
Log message:
Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
   2019-04-25 09:33:32 by Maya Rashish | Files touched by this commit (620)
Log message:
PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
   2016-09-17 15:51:19 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
Updated devel/ply 3.4 to 3.9
----------------------------
  CHANGES since 3.4 reaches 280 lines, 11.2 kbytes, so only recent
  Announce is listed here, thank you.
----------------------------------------------------------------
August 31, 2016

                  Announcing :  PLY-3.9 (Python Lex-Yacc)

                        http://www.dabeaz.com/ply

I'm pleased to announce PLY-3.9--a pure Python implementation of the
common parsing tools lex and yacc.  PLY-3.9 is a minor bug fix
release.  It supports both Python 2 and Python 3.

If you are new to PLY, here are a few highlights:

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

-  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 rules, and 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 can build its parsing tables using
   either SLR or LALR(1) algorithms.

More information about PLY can be obtained on the PLY webpage at:

                   http://www.dabeaz.com/ply

PLY is freely available.