bits.py

recursive descent parser library

Install

All systems
curl cmd.cat/bits.py.sh
Debian Debian
apt-get install python-lepl
Ubuntu
apt-get install python-lepl
image/svg+xml Kali Linux
apt-get install python-lepl
Windows (WSL2)
sudo apt-get update sudo apt-get install python-lepl
Raspbian
apt-get install python-lepl

python-lepl

recursive descent parser library

A recursive descent parser for Python 2.6+ (including 3!). Lepl is powerful, simple to use, and easy to extend: grammars are written directly as Python code, using a syntax similar to BNF; new matchers can be simple functions. This is the Python 2 version of the package.

python3-lepl

recursive descent parser library (Python 3)

A recursive descent parser for Python 2.6+ (including 3!). Lepl is powerful, simple to use, and easy to extend: grammars are written directly as Python code, using a syntax similar to BNF; new matchers can be simple functions. This is the Python 3 version of the package.