public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Creating C++ IntelliSense with gcc front end
@ 2009-07-23 16:50 Klesk
  2009-07-23 17:27 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Klesk @ 2009-07-23 16:50 UTC (permalink / raw)
  To: gcc-help

Hi

I would like to write something like Visual Studio IntelliSense and I
thought to use gcc front end to help me get necessary information from
C++ files. Because I'm a newbie in gcc development I would like to ask
if it's possible. I guess the biggest problem is performance - I mean
I can get any information I want from the tree how to update tree fast
enough (I don't want to parse entire project every time I press
ctrl+space) ?

I'm looking for any advice... for example would it be good to store
somewhere entire tree, or just identifiers and then parse only changed
parts ?

--
Klesk

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Creating C++ IntelliSense with gcc front end
  2009-07-23 16:50 Creating C++ IntelliSense with gcc front end Klesk
@ 2009-07-23 17:27 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2009-07-23 17:27 UTC (permalink / raw)
  To: Klesk; +Cc: gcc-help

Klesk <kleskmail@gmail.com> writes:

> I would like to write something like Visual Studio IntelliSense and I
> thought to use gcc front end to help me get necessary information from
> C++ files. Because I'm a newbie in gcc development I would like to ask
> if it's possible. I guess the biggest problem is performance - I mean
> I can get any information I want from the tree how to update tree fast
> enough (I don't want to parse entire project every time I press
> ctrl+space) ?
>
> I'm looking for any advice... for example would it be good to store
> somewhere entire tree, or just identifiers and then parse only changed
> parts ?

I think it would be hard.  You should take a look at Tom Tromey's
unfinished incremental compiler project.

http://gcc.gnu.org/wiki/IncrementalCompiler

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-23 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-23 16:50 Creating C++ IntelliSense with gcc front end Klesk
2009-07-23 17:27 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).