Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 827 Bytes

File metadata and controls

37 lines (24 loc) · 827 Bytes

pyPEG 2

CI

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.

Installation

pip install git+https://github.com/osso/pypeg.git

Or for development:

git clone https://github.com/osso/pypeg.git
cd pypeg
uv sync

Requirements

  • Python 3.12+
  • lxml (optional, for XML AST support)

Documentation

See http://fdik.org/pyPEG2 for the original documentation.

License

GNU General Public License v2 (GPLv2)