ply

PLY: Python Lex-Yacc

This module is derived from the PLY package (version 3.11) by David Beazley.

It has been modified to disallow loading parse tables from arbitrary files or pickles. This simplifies management of the parse table module and avoids potential security concerns.

The original PLY project (https://github.com/dabeaz/ply) was archived on December 21, 2025 and is no longer developed or maintained.

PLY (3.11) documentation is available here: https://www.dabeaz.com/ply/ply.html

Modules

lex

Customized version of ply.lex lexer for string data

yacc

Customized version of ply.yacc parser