|Is there a reentrant YACC around? email@example.com (1989-02-28)|
|From:||firstname.lastname@example.org (Steve Scot Roy)|
|Date:||28 Feb 89 14:26:23 GMT|
|Organization:||Princeton University, NJ|
I am writing a parser that uses YACC and it would be convenient if I had
a reentrant YACC. Does such a thing exist? Where do I go to get it if
it does? Is Bison reentrant?
[If by reentrant you mean recursively callable, the standard AT&T yacc parser
can be made so without much effort. You take all of the static arrays and
either make them auto's or else malloc them. If you really mean reentrant,
that's more a function of the compiler you're using. -John]
Return to the
Search the comp.compilers archives again.