[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clang vs free software

From: joakim
Subject: Re: clang vs free software
Date: Tue, 21 Jan 2014 17:38:13 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Rüdiger Sonderfeld <address@hidden> writes:

> On Tuesday 21 January 2014 17:25:59 address@hidden wrote:
>> > GCC provides a plugin interface now which can be used to extract
>> > information about the source.  I started writing a plugin and Emacs
>> > interface based on that.  It can show the callgraph, jump to definition,
>> > and show some information about symbols.  You simply add it to your
>> > normal compiler call. But I didn't get very far and it requires a patched
>> > version of the gcc-python plugin.
>> > 
>> > I hope I'll find enough time to continue working on it.  Maybe Clang
>> > provides better integration.  But without an FFI it would have to be
>> > linked into Emacs. And GCC is the main compiler I use anyway.
>> Interesting. Do you know if the interfaces you use are also provided via
>> gnome object introspection? Then I would love to try it out using the
>> Emacs Xwidget branch, which provides an attempt at a GIR bridge for emacs.
> I'm not loading any library in Emacs itself.  I have written plugins for GCC. 
> They are loaded during the compile process (add -fplugin=./gccetags.so to the 
> CXXFLAGS) and write data to a file.  For gcc-etags to a file in etag format 
> and for the other experiment a sexp.
> I haven't really looked at libclang.  Which could be loaded through an FFI.  
> I 
> doubt that they are using Glib though or what would be needed for gnome 
> object 
> introspection.

I meant if gcc could provide the feature you use via gir.

> Regards,
> Rüdiger

Joakim Verona

reply via email to

[Prev in Thread] Current Thread [Next in Thread]