https://github.com/jyapayne/python-grako
Python parser for grako.
https://github.com/jyapayne/python-grako
Last synced: about 2 months ago
JSON representation
Python parser for grako.
- Host: GitHub
- URL: https://github.com/jyapayne/python-grako
- Owner: jyapayne
- License: mit
- Created: 2015-05-22T18:33:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-22T18:55:43.000Z (almost 10 years ago)
- Last Synced: 2025-01-22T01:46:31.156Z (3 months ago)
- Language: Python
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-grako
Python parser for grako.### Requirements
This requires grako to be installed. You can do this via pip:
```bash
pip install grako
```###Usage
With grako installed, use this to generate the parser:
```bash
python -m grako Python.grako -o parser_class.py
```And then run the parser on the test code with:
```bash
python python_parser.py test/test.py start
```