Re: bison, flex and c++

"Chris Hundhausen" <>
20 Oct 2002 22:52:01 -0400

          From comp.compilers

Related articles
bison, flex and c++ (Shashank G. Khandelwal) (2002-10-18)
Re: bison, flex and c++ (Jan Kleinsorge) (2002-10-20)
Re: bison, flex and c++ (Chris Hundhausen) (2002-10-20)
Re: bison, flex and c++ (Piotr Zgorecki) (2002-10-20)
Re: bison, flex and c++ (Graham Douglas) (2002-10-25)
Re: bison, flex and c++ (Dave Sieber) (2002-11-06)
| List of all articles for this month |

From: "Chris Hundhausen" <>
Newsgroups: comp.compilers
Date: 20 Oct 2002 22:52:01 -0400
References: 02-10-061
Keywords: lex, yacc, C++
Posted-Date: 20 Oct 2002 22:52:01 EDT

"Shashank G. Khandelwal" <> wrote in message news:02-10-061...
> I'm very wet behind the ears at this bison, flex game. I'd like to use bison,
> flex with C++. Much searching online has failed to provide a simple example
> that uses all three. I'd like to build a tree of given lisp formulas by
> populating and linking the nodes of the tree from bison.
> I'd appreciate it if someone could point me to, or provide a simple example.

I hear you! One often needs to do system-dependent handstands in order
to get bison and flex to work with C++. I've successfully accomplished
this in the case of Microsoft Visual C++. Please post the specific
platform/C++ comipler you're working with, and maybe someone can lend
you a hand. I'd be happy to furnish you with the tricks that made it
work in the Microsoft Visual C++ case.

Good luck!


Post a followup to this message

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