I haven't looked at gcc plugin interface much but i have picked up clang's lib tooling interface pretty quickly and want to make my experience with emacs better. I looked at rtags project mentioned in this mail chain and think it looks good however it failed a bit for me and doesn't provide all that i need. (i do intend to write to the author). I have started some work on creating mini apps which will output in json format which i plan to write elisp extensions for. Since i have limited time in hands i would appreciate if someone facing similar issues can join forces and we can get it done. Basic requirements i have are: 1. fast semantic completions 2. jump to declaration and definition 3. provide a help window for if there are comments on the function under the cursor all of the above are doable by clang and more (i was told that gcc sat doesn't contain the comments info, i am not sure how true that is). I want to make it simple on the first cut and see how it looks and then proceed further.. So anyone? Regards, Ramneek On Friday, 30 November, 2012 at 11:15 PM, David Engster wrote: > Pascal J. Bourguignon writes: > > Llvm and clang provide natively a way to get the parse tree (and other > > phases information), and therefore they can be used easily in IDE. > > http://clang.llvm.org/features.html#applications > > > > > Since v4.5.0 GCC does that, too, via its plugin interface: > > http://gcc.gnu.org/wiki/plugins > > I'm not really qualified to compare it to libclang and libtooling, but > at least from what I saw, it's not as well documented and probably > requires some knowledge of gcc's internals to be really usable. > > However, the existing python plugin looks very interesting, since it > seems to nicely wrap gcc's tree data structure: > > https://gcc-python-plugin.readthedocs.org/en/latest/tree.html > > The real task is to condense this structure to something simpler, which > is usable by tools like Semantic. > > -David