Python is a nice scripting language. It even gives you access to its own parser and compiler. It also gives you access to different other parsers for special purposes like XML and string templates.
But sometimes you may want to have your own parser. This is what's pyPEG for. And pyPEG supports Unicode.
pip install git+https://github.com/osso/pypeg.gitOr for development:
git clone https://github.com/osso/pypeg.git
cd pypeg
uv sync- Python 3.12+
- lxml (optional, for XML AST support)
See http://fdik.org/pyPEG2 for the original documentation.
GNU General Public License v2 (GPLv2)