Python parser for grako.
Find a file
2015-05-22 12:55:40 -06:00
test Initial commit with python grammar and parser files. 2015-05-22 12:55:40 -06:00
.gitignore Initial commit 2015-05-22 12:33:34 -06:00
LICENSE Initial commit 2015-05-22 12:33:34 -06:00
Python.grako Initial commit with python grammar and parser files. 2015-05-22 12:55:40 -06:00
python_parser.py Initial commit with python grammar and parser files. 2015-05-22 12:55:40 -06:00
README.md Update README.md 2015-05-22 12:38:56 -06:00

python-grako

Python parser for grako.

Requirements

This requires grako to be installed. You can do this via pip:

pip install grako

###Usage

With grako installed, use this to generate the parser:

python -m grako Python.grako -o parser_class.py

And then run the parser on the test code with:

python python_parser.py test/test.py start