Sander Mathijs van Veen a8765c6130 Initial commit of PyBison (version 0.1.8) 14 vuotta sitten
..
README a8765c6130 Initial commit of PyBison (version 0.1.8) 14 vuotta sitten
c.l a8765c6130 Initial commit of PyBison (version 0.1.8) 14 vuotta sitten
c.y a8765c6130 Initial commit of PyBison (version 0.1.8) 14 vuotta sitten

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