Internals of a parser generated by GNU Bison

"satya" <satyakiran@gmail.com>
21 Sep 2006 10:33:43 -0400

          From comp.compilers

Related articles
Internals of a parser generated by GNU Bison satyakiran@gmail.com (satya) (2006-09-21)
Re: Internals of a parser generated by GNU Bison bonzini@gnu.org (Paolo Bonzini) (2006-09-22)
| List of all articles for this month |
From: "satya" <satyakiran@gmail.com>
Newsgroups: comp.compilers
Date: 21 Sep 2006 10:33:43 -0400
Organization: http://groups.google.com
Keywords: parse, yacc
Posted-Date: 21 Sep 2006 10:33:43 EDT

hi,
If anyone wants to know how a C parser generated by Bison (2.3) works,
here is a small article I came up with:


http://cs.uic.edu/~spopuri/cparser.html


If you want to hand optimize auto generated parsers or split up the
yyparse() function or just want to know what's going on in there.. I
hope this document will be useful for you.


Please send comments/corrections (bug reports :) to me. Thanks.


Satya.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.