emacs-devel
[Top][All Lists]
Advanced

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

Re: clang vs free software


From: Helmut Eller
Subject: Re: clang vs free software
Date: Thu, 23 Jan 2014 15:26:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Thu, Jan 23 2014, David Kastrup wrote:

> Which brings us back to the question: what would be required to provide
> them via GCC or other GNU software?

GCC should have some analog to libclang:
  http://clang.llvm.org/doxygen/group__CINDEX.html
i.e. a somewhat stable API that makes the AST available without exposing
too many internal details.

Maybe that is possible with a GCC plugin, but since GCC could have
offered such functionality since decades, it's likely that it was
prevented for some political reason (like "you could then use GCC's
front-end for a proprietary IDE").

> If nobody bothers with even
> considering the question, it would appear that it is not all that
> important...

Maybe nobody bothers because using clang is easier than to fight with
FSF policies.

Helmut




reply via email to

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