Re: bison, flex and c++

"Chris Hundhausen" <hundhaus@hawaii.edu>
20 Oct 2002 22:52:01 -0400

          From comp.compilers

Related articles
bison, flex and c++ shrew@cs.utexas.edu (Shashank G. Khandelwal) (2002-10-18)
Re: bison, flex and c++ wobble@gmx.de (Jan Kleinsorge) (2002-10-20)
Re: bison, flex and c++ hundhaus@hawaii.edu (Chris Hundhausen) (2002-10-20)
Re: bison, flex and c++ pioter@terramail.CUTTHIS.pl (Piotr Zgorecki) (2002-10-20)
Re: bison, flex and c++ g.douglas@readytext.co.uk (Graham Douglas) (2002-10-25)
Re: bison, flex and c++ dsieber@spamnot.attbi.com (Dave Sieber) (2002-11-06)
| List of all articles for this month |

From: "Chris Hundhausen" <hundhaus@hawaii.edu>
Newsgroups: comp.compilers
Date: 20 Oct 2002 22:52:01 -0400
Organization: http://groups.google.com/
References: 02-10-061
Keywords: lex, yacc, C++
Posted-Date: 20 Oct 2002 22:52:01 EDT

"Shashank G. Khandelwal" <shrew@cs.utexas.edu> 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!


:-)Chris


Post a followup to this message

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