probably the best C++ parser...

Vladimir Prus ghost at cs.msu.su
Tue Jul 5 14:33:07 UTC 2005


On Tuesday 05 July 2005 12:19, Steven T. Hatton wrote:
> On Friday 01 July 2005 11:01, Alexander Neundorf wrote:
> > ...you can find is gcc, but did you know gccxml
> > (http://www.gccxml.org/HTML/Index.html) ? It's basically the real gcc,
> > but it doesn't produce machine instructions, but an xml file describing
> > the source file.
> > So you get
> > -all functions
> > -all variables
> > -all parameters for functions
> > -the locations where the functions are declared (file and line number)
> > etc. in a machine-readable format.
> >
> > I think this could be really useful for kdevelop (go to
> > declaration/definition, completion, parameter info, etc.) Did anybody
> > already play with it ?
> >
> > Btw. it's written by the same guys who develop cmake :-)
> >
> > Bye
> > Alex
>
> I don't believe there is a need for a new parser.  Roberto has put a lot of
> work into r++.  Is there some reason no to use it?  Perhaps I'm not
> understanding what people are wanting.

As I've mentioned, it crashes parsing its own source. It's *very* likely that 
I'm doing something wrong, but still, until it works for me I can't comment 
on it's quality.

- Volodya




More information about the KDevelop-devel mailing list