Allen Shorts's Parsley "is a pattern matching and parsing tool for Python programmers".
Parsley follows on from Short's Pymeta, and which he introduced at Pycon 2013. It is based on OMeta.
Parsley is a PEG parser, which generates parsing code in Python from a grammar in OMeta.
Parsley uses TermL to produce syntax trees
Done:
- Read a hosts file with parsley: hosts.py
To Do:
- Read a hosts grammar with Parsley: meta_hosts.py
- Read a Parsley grammar
- Derive a syntax tree from a Parsley-parsed text