| Related articles |
|---|
| Zyacc question wwm@home.net (Bill Martin) (1999-03-23) |
| From: | Bill Martin <wwm@home.net> |
| Newsgroups: | comp.compilers |
| Date: | 23 Mar 1999 12:35:15 -0500 |
| Organization: | Lacking@Times |
| Keywords: | yacc, question |
Hello,
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.
thanks,
Bill Martin
Return to the
comp.compilers page.
Search the
comp.compilers archives again.