README 476 B

12345678910111213141516
  1. This is a parser for ANSI C code.
  2. To generate your python parser, type:
  3. bison2py c
  4. or, if you want parse node classes to be generated as well:
  5. bison2py c -c
  6. Either of those commands will generate an executable c.py file,
  7. containing a Parser class, plus unit test code which by default
  8. reads C source from stdin.
  9. Grammar and scanner scripts were sourced from:
  10. * http://www.lysator.liu.se/c/ANSI-C-grammar-y.html
  11. * http://www.lysator.liu.se/c/ANSI-C-grammar-l.html