From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.devel Subject: Re: clang/emacs/ecb/semantic Date: Fri, 30 Nov 2012 07:34:43 +0100 Organization: Informatimago Message-ID: <87hao7ioos.fsf@kuiper.lan.informatimago.com> References: <20940A983D814C6192ABFF2B7A269A88@gmail.com> <87wqx42nag.fsf@yandex.ru> <87ehjcrw70.fsf@engster.org> <87hao816w4.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354257309 13124 80.91.229.3 (30 Nov 2012 06:35:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 06:35:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 30 07:35:22 2012 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 1TeKBy-0001qZ-8K for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2012 07:35:18 +0100 Original-Received: from localhost ([::1]:34963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeKBm-0006DX-Rt for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2012 01:35:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeKBk-0006D5-MF for emacs-devel@gnu.org; Fri, 30 Nov 2012 01:35:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeKBj-0006gC-4h for emacs-devel@gnu.org; Fri, 30 Nov 2012 01:35:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeKBi-0006dN-Tk for emacs-devel@gnu.org; Fri, 30 Nov 2012 01:35:03 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TeKBl-0001fH-LO for emacs-devel@gnu.org; Fri, 30 Nov 2012 07:35:05 +0100 Original-Received: from 92.103.75.130 ([92.103.75.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2012 07:35:05 +0100 Original-Received: from pjb by 92.103.75.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2012 07:35:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.103.75.130 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:NGQyMTgwNGY1MjExNmU0ZjIxZjgyYzg2MzRhYWVmODM0ZDI5YWVmNQ== 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:155141 Richard Stallman writes: > gcc-xml is frozen since a few years ago. The author recommends using > clang. > > That recommendation works to the detriment of the GNU Project, so > maybe we want to find someone else to take it up again. > > What exactly does gcc-xml do? Something that should have been merged into gcc a long time ago. It generates the parse tree as xml. http://www.gccxml.org/ Unfortunately, it doesn't support all the language front ends, and since it's not incorporated into gcc itself, it lags, and therefore cannot be used in practice to analyse sources compiled with the latest versions of gcc. 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 -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}.