help-bison
[Top][All Lists]
Advanced

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

RE: Bison/Flex - C++ - String input


From: Matt Carter
Subject: RE: Bison/Flex - C++ - String input
Date: Mon, 18 Feb 2002 11:18:35 -0500

Markus Mottl did up a nice example of using bison and flex++ in a
thread-safe manner.  You can download it at:
http://miss.wu-wien.ac.at/~mottl/cpp_sources/reent.tar.gz

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Monday, February 18, 2002 10:50 AM
To: address@hidden
Cc: address@hidden
Subject: Bison/Flex - C++ - String input


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


_______________________________________________
Help-flex mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-flex



reply via email to

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