Topic: Request for general purpose ANSI C++ grammar parser/lexer or usable BNF


Author: Richard Ryan <ryanr@ez0.ezlink.com>
Date: 2000/04/15
Raw View
Hi,

I was wondering if anyone knew of a good general purpose lexer/parser
for C++ out there.  I'm trying to pull information from code to put it
into an XML database.  I've tried looking at the g++ code, but I couldn't
figure out how to use it for this.

Alternatively, does anyone know of any readily lex-able/yacc-able specs
out there?  I've tried figuring it out from the Stroustrup book, but I'm
having quite a struggle.

Thank You,
Richard Ryan

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]