grap

PEG Parser for Python


Keywords
grammar, parser, PEG, easy-to-use, parser-library, python
License
MIT
Install
pip install grap==0.1.0b1

Documentation

grap

grap is a PEG parser for Python.

Links

TODO

  • make both predicate rules work
  • rename action to marker?
  • add fn make_rule to create a rule from tree
  • warn when rule is used without parens (class instead of obj)
  • add visualizer that shows pointer while parsing
  • Pygments for grap lang