help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison/Flex - C++ - String input


From: stabary
Subject: Bison/Flex - C++ - String input
Date: Mon, 18 Feb 2002 16:50:25 +0100

Hi folks,

after 72 hours of intensive search throughout google, I call for help.

I have succesfuly created a small Flex/Bison program allowing me to parse
a boolean expression and build a binary tree which can be recursively
evaluated
(big deal ...).

I need to integrate this into a C++ server architecture.

I am looking for a good example of integration of Bison with Flex++ or a
good
example of threadsafe integration of bison/flex. This example needs to
parse
a string as input and should completly ban global variables.

I must admit, I have found one potentially valid example (in the archive of
MacTech)
but it uses static variables and I wonder if it is really the only choice.

If I can I'd like to avoid using Bison++ which is not GNU and anyway rather
difficult
to manage. However, if someone has a complete example (I insist on that one
since C++
Annotations example is not complete), it would still help me.

Thanks for any help.
Regards
Stephane
_________________________________________________________________
Stephane TABARY
aMaDEUS Development - New Generation Inventory - DEV/GCO/GCC/NGI/MPP
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]