flex/bison & C++

matthew@tedder.com (Matthew C. Tedder)
13 Oct 2001 23:04:28 -0400

          From comp.compilers

Related articles
flex/bison & C++ matthew@tedder.com (2001-10-13)
Re: flex/bison & C++ bettini@dsi.unifi.it (Lorenzo Bettini) (2001-10-16)
Re: flex/bison & C++ alexc@world.std.com (2001-10-20)
| List of all articles for this month |

From: matthew@tedder.com (Matthew C. Tedder)
Newsgroups: comp.compilers
Date: 13 Oct 2001 23:04:28 -0400
Organization: http://groups.google.com/
Keywords: yacc, C++, comment
Posted-Date: 13 Oct 2001 23:04:28 EDT

I've written the following:


prog.l -- flex code that link together with bison's output
prog.y -- bison's code that calls the flex output yylex().
prog.cpp -- C++ objects with methods I'd like to call from bison


Does anyone have any idea how I can do the last part? I've spent so much
time working on the C++ methods and it also uses C++ libraries for GUI
stuff.


--Matthew
[This has come up before, see the archives. -John]


Post a followup to this message

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