Sander Mathijs van Veen a8765c6130 Initial commit of PyBison (version 0.1.8) před 14 roky
..
README a8765c6130 Initial commit of PyBison (version 0.1.8) před 14 roky
c.l a8765c6130 Initial commit of PyBison (version 0.1.8) před 14 roky
c.y a8765c6130 Initial commit of PyBison (version 0.1.8) před 14 roky

README

This is a parser for ANSI C code.

To generate your python parser, type:
bison2py c
or, if you want parse node classes to be generated as well:
bison2py c -c

Either of those commands will generate an executable c.py file,
containing a Parser class, plus unit test code which by default
reads C source from stdin.

Grammar and scanner scripts were sourced from:

* http://www.lysator.liu.se/c/ANSI-C-grammar-y.html
* http://www.lysator.liu.se/c/ANSI-C-grammar-l.html