OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

py3-ply-3.11p9

Python lex/yacc

Back to search · Project homepage

Description

PLY is an implementation of the lex and yacc parsing tools written entirely in Python. It uses LR-parsing which is reasonably 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. It's been abandoned upstream and not expected to be maintained any more. Note: do *not* use the undocumented 'picklefile' parameter with untrusted or externally writable files - Python's pickle module permits execution of embedded code during deserialization, so a malicious pickle file can execute arbitrary code during parser setup.

Package information

Ports path
devel/py-ply
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Used by (8 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON