unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ramneek <onewastedlife@gmail.com>
To: "Pascal J. Bourguignon" <pjb@informatimago.com>, emacs-devel@gnu.org
Subject: Re: clang/emacs/ecb/semantic
Date: Fri, 30 Nov 2012 23:25:39 +0800	[thread overview]
Message-ID: <BBA016AD3C45434F876C1E6B357B2412@gmail.com> (raw)
In-Reply-To: <87y5hjqfzi.fsf@engster.org>

[-- Attachment #1: Type: text/plain, Size: 1980 bytes --]

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 


[-- Attachment #2: Type: text/html, Size: 3166 bytes --]

  reply	other threads:[~2012-11-30 15:25 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 16:32 clang/emacs/ecb/semantic Ramneek Handa
2012-11-29 19:59 ` clang/emacs/ecb/semantic Dmitry Gutov
2012-11-29 20:27   ` clang/emacs/ecb/semantic David Engster
2012-11-29 20:38     ` clang/emacs/ecb/semantic Óscar Fuentes
2012-11-29 20:49       ` clang/emacs/ecb/semantic David Engster
2012-11-30  2:52       ` clang/emacs/ecb/semantic Richard Stallman
2012-11-30  6:34         ` clang/emacs/ecb/semantic Pascal J. Bourguignon
2012-11-30 15:15           ` clang/emacs/ecb/semantic David Engster
2012-11-30 15:25             ` ramneek [this message]
2012-12-01  4:44               ` clang/emacs/ecb/semantic Richard Stallman
2012-12-04 17:04                 ` clang/emacs/ecb/semantic David Engster
2012-11-30 20:11           ` clang/emacs/ecb/semantic Richard Stallman
2012-11-30 21:02             ` clang/emacs/ecb/semantic Óscar Fuentes
2012-12-01 19:30               ` clang/emacs/ecb/semantic Richard Stallman
2012-12-01 19:30               ` clang/emacs/ecb/semantic Richard Stallman
2012-11-30 21:50             ` clang/emacs/ecb/semantic Pascal J. Bourguignon
2012-12-02  4:15               ` clang/emacs/ecb/semantic Richard Stallman
2012-12-02  5:13                 ` clang/emacs/ecb/semantic Daniel Colascione
2012-12-03  0:02                   ` clang/emacs/ecb/semantic Richard Stallman
2012-12-03  1:42                     ` clang/emacs/ecb/semantic Daniel Colascione
2012-12-03 17:08                       ` clang/emacs/ecb/semantic Eli Zaretskii
2012-12-03 17:21                         ` clang/emacs/ecb/semantic Chong Yidong
2012-12-03 17:56                           ` clang/emacs/ecb/semantic Eli Zaretskii
2012-12-03 18:14                             ` clang/emacs/ecb/semantic Daniel Colascione
2012-12-03 18:50                               ` clang/emacs/ecb/semantic Eli Zaretskii
2012-12-03 19:37                                 ` clang/emacs/ecb/semantic Stefan Monnier
2012-12-04  0:51                                   ` clang/emacs/ecb/semantic joakim
2012-12-04  2:17                                     ` clang/emacs/ecb/semantic Stefan Monnier
2012-12-04  1:04                                   ` clang/emacs/ecb/semantic joakim
2012-12-04  0:41                               ` clang/emacs/ecb/semantic Richard Stallman
2012-12-03 19:34                       ` clang/emacs/ecb/semantic Richard Stallman
2012-12-02  9:04                 ` clang/emacs/ecb/semantic Stephen J. Turnbull
2012-12-02 13:48                   ` clang/emacs/ecb/semantic Helmut Eller
2012-12-03  0:02                     ` clang/emacs/ecb/semantic Richard Stallman
2012-12-03 16:02                       ` clang/emacs/ecb/semantic Burton Samograd
2012-12-04  0:40                         ` clang/emacs/ecb/semantic Richard Stallman
2012-12-04 14:05                           ` clang/emacs/ecb/semantic Miguel Guedes
2012-12-05 11:49                             ` clang/emacs/ecb/semantic Richard Stallman
2012-12-05 17:21                             ` clang/emacs/ecb/semantic Paul Eggert
2012-12-03  0:02                   ` clang/emacs/ecb/semantic Richard Stallman
2012-12-02 13:59                 ` clang/emacs/ecb/semantic Pascal J. Bourguignon
2012-12-03  0:02                   ` clang/emacs/ecb/semantic Richard Stallman
2012-12-03  0:02                   ` clang/emacs/ecb/semantic Richard Stallman
2012-12-03  0:02                   ` clang/emacs/ecb/semantic Richard Stallman
2012-11-30  6:46         ` clang/emacs/ecb/semantic Helmut Eller
2012-11-30  2:51 ` clang/emacs/ecb/semantic Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BBA016AD3C45434F876C1E6B357B2412@gmail.com \
    --to=onewastedlife@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=pjb@informatimago.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).