|Zyacc question firstname.lastname@example.org (Bill Martin) (1999-03-23)|
|From:||Bill Martin <email@example.com>|
|Date:||23 Mar 1999 12:35:15 -0500|
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.
Return to the
Search the comp.compilers archives again.