Zyacc question

Bill Martin <wwm@home.net>
23 Mar 1999 12:35:15 -0500

          From comp.compilers

Related articles
Zyacc question wwm@home.net (Bill Martin) (1999-03-23)
| List of all articles for this month |

From: Bill Martin <wwm@home.net>
Newsgroups: comp.compilers
Date: 23 Mar 1999 12:35:15 -0500
Organization: Lacking@Times
Keywords: yacc, question

Being a bit of a novice at compiler tools, I would like to pose a
question to those more experienced. If I generate a "pure" zyacc parser,
is it reasonable to switch grammar context by calling the yyparse
function from within itself, with a new start condition? From what I
have read about zyacc, it looks like this should work, but it can't hurt
to ask if there are any "gotchas" I don't know about. Zyacc is at
http://opal.cs.binghamton.edu/~zdu/zyacc, its basically a varient of
Bison with a few extra goodies.

Bill Martin

Post a followup to this message

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