[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clang/emacs/ecb/semantic
From: |
David Engster |
Subject: |
Re: clang/emacs/ecb/semantic |
Date: |
Fri, 30 Nov 2012 16:15:29 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) |
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
- clang/emacs/ecb/semantic, Ramneek Handa, 2012/11/29
- Re: clang/emacs/ecb/semantic, Dmitry Gutov, 2012/11/29
- Re: clang/emacs/ecb/semantic, David Engster, 2012/11/29
- Re: clang/emacs/ecb/semantic, Óscar Fuentes, 2012/11/29
- Re: clang/emacs/ecb/semantic, David Engster, 2012/11/29
- Re: clang/emacs/ecb/semantic, Richard Stallman, 2012/11/29
- Re: clang/emacs/ecb/semantic, Pascal J. Bourguignon, 2012/11/30
- Re: clang/emacs/ecb/semantic,
David Engster <=
- Re: clang/emacs/ecb/semantic, ramneek, 2012/11/30
- Re: clang/emacs/ecb/semantic, Richard Stallman, 2012/11/30
- Re: clang/emacs/ecb/semantic, Richard Stallman, 2012/11/30
- Re: clang/emacs/ecb/semantic, Óscar Fuentes, 2012/11/30
- Re: clang/emacs/ecb/semantic, Pascal J. Bourguignon, 2012/11/30
- Re: clang/emacs/ecb/semantic, Helmut Eller, 2012/11/30
Re: clang/emacs/ecb/semantic, Richard Stallman, 2012/11/29