Update README.md
This commit is contained in:
parent
f6c333ac89
commit
b8dab2a2c4
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
|
@ -1,2 +1,24 @@
|
|||
# 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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue