Code completion, code hinting, code browsing

Victor Röder Victor_Roeder at GMX.de
Thu Oct 25 21:56:13 UTC 2001


Hi, Thomas!

> Uhm, I didn't find the file you ment (cppsupport/...) I even don't have the
> parts-folder.

Where did you looked up? In Gideon (HEAD)? There has to be a parts/ directory 
with several sub dirs (cppsupport among them). Maybe you have looked in the 
KDevelop 2.x sources?

> Anyway.
> I'm working on another approach to implement the parser (I hope that won't
> be a bigger problem since you said that the progress is not so far, yet). I
> try to use spirit (http://spirit.sourceforge.net/). It's a pure template
> library for creating parsers upon a give EBNF syntax. So I currently
> struggle a bit with these 3-lines-long type names in the compiler error
> messages (since they use "compile time polymorphism", that's kind of
> recursive template using). The other problem I have is to create a useful
> EBNF of C++ with which you can perform useful reactions on some occurences.

Hmmm, sounds interesting. Although I don't understand what you are talking 
about :-).

> My plan is to create a C++ parser class, thus could be called "KCppParser",
> that has a (large) number of virtual functions to customize the behavior
> (e.g., onFoundClass(name)). The exact way to do that is not clear, yet.
> Another possibility is to create XML output. This could then be used as
> input for a (back-end) module that stores this into a database or so.

Okay, I think this is a very general solution. If we do this way (IMHO) we 
could use one 'parser framework' for the class store and for parsing the cc 
stuff by overwriting the virtual functions once to fill the store and once to 
get the cc infos...

If you are willed to get Gideon's C++ Code Completion work you are welcome! I 
think CC might need some help :-).

> What are your ideas?

We have some, but they are "basic". Maybe I leave this question unanswered 
and forward it to Daniel ;-).

Bye (and good night, if you're tired)

Victor

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list