dh_python3-ply

Lex and Yacc implementation for Python3

Install

All systems
curl cmd.cat/dh_python3-ply.sh
Debian Debian
apt-get install python3-ply
Ubuntu
apt-get install python3-ply
image/svg+xml Kali Linux
apt-get install python3-ply
Fedora
dnf install python3-ply
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-ply
Raspbian
apt-get install python3-ply

python3-ply

Lex and Yacc implementation for Python3

PLY is yet another implementation of lex and yacc for Python. Although several other parsing tools are available for Python, there are several reasons why you might want to take a look at PLY: * It's implemented 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. * PLY is extremely easy to use and provides very extensive error checking. This package contains the Python 3 module.