[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: Dumping the source DOM?
From: "Steven T. Hatton" <hattons () globalsymmetry ! com>
Date: 2005-06-30 9:29:35
Message-ID: 200506300529.36141.hattons () globalsymmetry ! com
[Download RAW message or body]
On Thursday 30 June 2005 02:27, Vladimir Prus wrote:
> Steven T. Hatton wrote:
> > I've been wanting to find time to explore this on my own, but right now
> > am not
> > able to do so. I'm aware that KDevelop creates an internal DOM
> > representation of such things as C++ classes. I believe that is a very
> > powerful design feature with a great deal of potential. It's also buried
> > deep in the tangled woods of KDevelop's implementation. Can a simple
> > commandline tool that could be run against a source file to produce an
> > XML dump of the the code structure be extracted?
>
> You probably should use a tool such as gccxml. At least it's based on gcc
> so might be more capable of parsing complex C++ code.
>
> On a related note, I'd really like it if KDevelop integrate with gcc's
> parser, and don't crash when importing C++ Boost ;-)
>
> - Volodya
Thanks! That is certainly an impressive, if a bit incomplete, tool. If
nothing else, it reminded of how truly crude the concept of a translation
unit really is. :-) I just happened to have #include <sstream> in the first
file I ran it on. Yuck! In order for it to be useful for my purposes, I
will have to figure out how to get it to restrict its output to the immediate
source. I believe you are thinking of the absolute other end of the same
problem domain as I am. If I understand, you are interested in the PCS for
Boost. No?
I'm interested in the new method dialog and, etc.
--
Regards,
Steven
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic