I believe that Wave is a C99/C++ conformant *preprocessor*, not a parser. So far as I know, the only two even vaguely viable freely-available parsers for C++ are Elsa (which goes along with Elkhound, integrated into Felix) and the g++ parser (which is GPL-licensed and more tied to the rest of the GCC code).
I'd love to hear if there's anything out there that's free-standing and can parse all of C++. Otherwise I fear I'll embark on a multi-year project to build something. -- James ---- Stephane Le Dorze <[EMAIL PROTECTED]> wrote: > Hum... > Do not know if this could help but there a C99/C++ conformant parser > written in C++ using spirit library. > The implementation is quite clean and inspired from FP programming. > http://www.boost-consulting.com/boost/libs/wave/index.html > Don't know if it could easily be translated in OCaml... > > -----Original Message----- > From: skaller [mailto:[EMAIL PROTECTED] > Sent: 11 juillet 2006 14:23 > To: Stephane Le Dorze > Cc: [email protected] > Subject: RE: [Felix-language] garbage collection. > > On Tue, 2006-07-11 at 13:44 -0400, Stephane Le Dorze wrote: > > You're right sometime I forget it's "only" a C++ generator... :) > > This is good and bad. I'm seriously thinking to 'downplay' > the high level language thing and pretend it's just a fancy > kind of pre-processor -- this may gain more acceptance > from C++ programmers. It may also allow stabilising some > of the semantics whilst leaving a good bit of the more experimental > high level stuff in the system, unspecified, so it can be ... > well .. experimented with :) > > If only i had a C++ parser written in Ocaml .. > > -- > John Skaller <skaller at users dot sf dot net> > Felix, successor to C++: http://felix.sf.net > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Felix-language mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/felix-language ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Felix-language mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/felix-language
