From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.devel Subject: Re: Contributing LLVM.org patches to gud.el Date: Fri, 13 Feb 2015 10:11:25 +0000 (UTC) Message-ID: References: <87mw4rxkzv.fsf@fencepost.gnu.org> <20150208001527.GA30292@thyrsus.com> <20150209150411.1f0f4e4f@jabberwock.cb.piermont.com> <20150211111722.181a2201@jabberwock.cb.piermont.com> <20150211183700.04ec0613@jabberwock.cb.piermont.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1423822366 23808 80.91.229.3 (13 Feb 2015 10:12:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2015 10:12:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 13 11:12:37 2015 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 1YMDEg-00040S-An for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 11:12:34 +0100 Original-Received: from localhost ([::1]:54250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMDEf-0003iL-Oc for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 05:12:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMDDp-0002IY-2S for emacs-devel@gnu.org; Fri, 13 Feb 2015 05:11:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMDDl-0001wU-TX for emacs-devel@gnu.org; Fri, 13 Feb 2015 05:11:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMDDl-0001wQ-MW for emacs-devel@gnu.org; Fri, 13 Feb 2015 05:11:37 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YMDDj-0003XJ-IX for emacs-devel@gnu.org; Fri, 13 Feb 2015 11:11:35 +0100 Original-Received: from 178-164-187-173.pool.digikabel.hu ([178.164.187.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2015 11:11:35 +0100 Original-Received: from adatgyujto by 178-164-187-173.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2015 11:11:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 178.164.187.173 (Mozilla/5.0 (Windows NT 6.1; rv:35.0) Gecko/20100101 Firefox/35.0) 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:182999 Archived-At: Perry E. Metzger piermont.com> writes: > > It might not per se necessary that Emacs have access to the AST in > textual form. If GCC or part of GCC could be called as a library from > within Emacs to access the AST via an API, that might be sufficient. I wonder how big is the actual C/C++ parsing code in GCC. If it can be extracted it could even be linked statically with emacs. Sure, in this case it would not be always the latest code, it should be updated at every emacs release, but it would still provide a far superior AST feature than what currently is available in emacs.