[comp.lang.misc] Is there a reentrant YACC around?

ssroy@phoenix.princeton.edu (Steve Scot Roy) (02/28/89)

Howdy.

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?

Thanks.

Steve Roy
ssr@courant.princeton.edu
[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]
--
Send compilers articles to ima!compilers or, in a pinch, to Levine@YALE.EDU
Plausible paths are { decvax | harvard | yale | bbn}!ima
Please send responses to the originator of the message -- I cannot forward
mail accidentally sent back to compilers.  Meta-mail to ima!compilers-request