News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

GCC could help CodeCompletion in future

Started by byo, April 18, 2008, 11:34:55 PM

Previous topic - Next topic

byo

Looks like all the parsing, symbol storage etc. may not be needed anymore. Tom Tromey has started to work on turning GCC into an Incremental Compiler - such approach will require gcc to work as a server.
One of side effect of such architecture is that gcc could also work as an information server for IDEs providing informations about code.

More info here

Regards
   BYO

JGM


Michael

Hello,

it looks really interesting :). Let see how things will evolve.

All the best
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

Barking_Mad

This does look intresting, but i notice there hasnt been an [incremenal] branch patch in several months.
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

ollydbg

I found this message in the gnu wiki

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

and I checked the svn branches. and the last update was in 2008 -05 -21 :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.