|
From: | Jeannot_Langlois |
Subject: | Re: Threadsafe C Based Parser |
Date: | Fri, 03 Sep 2004 15:02:07 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
Jeannot,
We are in the process of making one of our parsers threadsafe. We currently use Bison version 1.75 and Flex version 2.5.4. We are considering using the %pure_parser option on bison to make the parser thread safe and were looking into using %option reentrant option in Flex to make the scanner threadsafe. I was looking at [ http://lists.gnu.org/archive/html/bug-bison/2003-03/msg00031.html] and noticed that you had the same requirements as me.
We want to use a C based parser and scanner. We have been trying to get a version of flex that will support the reentrant option but have not had much luck. Can you point me to where I can get a thread safe scanner? You mentioned that you used version 2.5.27 of the scanner. Do you have a link to where I can download this version?
Also which option did you use to generate the reentrant scanner? Did you use %option reentrant or %option reentrant-bison? Flex 2.5.4 does not seem to recognize either of these options. If you think there are more recent versions of Flex or Bison that we can use, please let me know.I believe links I've given you above should help you out a little bit.
Thanks in advance for your help. Any help regarding this will be much appreciated.
Raji
[Prev in Thread] | Current Thread | [Next in Thread] |