From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: clang vs free software Date: Thu, 23 Jan 2014 15:26:57 +0100 Message-ID: References: <87fvqtg02v.fsf@flea.lifelogs.com> <87sitkzahs.fsf@yandex.ru> <52D7DAAB.2070709@yandex.ru> <52D81960.2080408@yandex.ru> <52DA8C17.4080707@yandex.ru> <52DC00E5.3020803@yandex.ru> <52DC6A26.3020003@yandex.ru> <87k3dv9z85.fsf@uwakimon.sk.tsukuba.ac.jp> <87eh439w1n.fsf@uwakimon.sk.tsukuba.ac.jp> <87ha8yqvup.fsf@engster.org> <87r47zezcc.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390487239 23953 80.91.229.3 (23 Jan 2014 14:27:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2014 14:27:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 23 15:27:26 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W6LFe-0002Ou-Fz for ged-emacs-devel@m.gmane.org; Thu, 23 Jan 2014 15:27:26 +0100 Original-Received: from localhost ([::1]:41451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6LFe-0002iV-36 for ged-emacs-devel@m.gmane.org; Thu, 23 Jan 2014 09:27:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6LFV-0002fr-QQ for emacs-devel@gnu.org; Thu, 23 Jan 2014 09:27:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6LFP-0004m2-G5 for emacs-devel@gnu.org; Thu, 23 Jan 2014 09:27:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6LFO-0004lv-Sd for emacs-devel@gnu.org; Thu, 23 Jan 2014 09:27:11 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W6LFN-0002GW-NN for emacs-devel@gnu.org; Thu, 23 Jan 2014 15:27:09 +0100 Original-Received: from 212.46.176.45 ([212.46.176.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 15:27:09 +0100 Original-Received: from eller.helmut by 212.46.176.45 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 15:27:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 212.46.176.45 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:qpEl2RW4oJWlaT4G3+LmkTVOMDI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168953 Archived-At: 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