From b8dab2a2c48c4346173088ef60608c02724c4743 Mon Sep 17 00:00:00 2001 From: Joey Date: Fri, 22 May 2015 12:38:56 -0600 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index dc9671a..66afb42 100644 --- a/README.md +++ b/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 +```