Is there a reentrant YACC around?

ssroy@phoenix.princeton.edu (Steve Scot Roy)
28 Feb 89 14:26:23 GMT

          From comp.compilers

Related articles
Is there a reentrant YACC around? ssroy@phoenix.princeton.edu (1989-02-28)
| List of all articles for this month |
From: ssroy@phoenix.princeton.edu (Steve Scot Roy)
Newsgroups: comp.lang.misc,comp.compilers
Keywords: YACC, reentrant
Date: 28 Feb 89 14:26:23 GMT
Followup-To: poster
Organization: Princeton University, NJ

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]
--


Post a followup to this message

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