From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Emacs contributions, C and Lisp Date: Sat, 03 Jan 2015 01:24:36 +0100 Message-ID: <87vbkovhh7.fsf@engster.org> References: <83bnxuzyl4.fsf@gnu.org> <87a9ddg7o8.fsf@engster.org> <87d2i9ee8t.fsf@engster.org> <874n3ke1qn.fsf@engster.org> <87sir336qn.fsf@fencepost.gnu.org> <20140301215057.GA19461@thyrsus.com> <87fvn1y0vx.fsf@fencepost.gnu.org> <87fvn0senq.fsf@uwakimon.sk.tsukuba.ac.jp> <8761nusb90.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420244708 24098 80.91.229.3 (3 Jan 2015 00:25:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 00:25:08 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 03 01:25:02 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 1Y7CWY-0006E2-JQ for ged-emacs-devel@m.gmane.org; Sat, 03 Jan 2015 01:24:58 +0100 Original-Received: from localhost ([::1]:53092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7CWX-0002cp-So for ged-emacs-devel@m.gmane.org; Fri, 02 Jan 2015 19:24:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7CWL-0002cj-RT for emacs-devel@gnu.org; Fri, 02 Jan 2015 19:24:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7CWI-0008OJ-LI for emacs-devel@gnu.org; Fri, 02 Jan 2015 19:24:45 -0500 Original-Received: from randomsample.de ([5.45.97.173]:33462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7CWI-0008OA-C2; Fri, 02 Jan 2015 19:24:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=pGH6XKCYeBcv3jb2nB/FlV5YmVtVt6vUcTrW9jjf0uA=; b=e16u1VdyVVyx0dBbXogwoRYzxOqU0Nutdn+ur0h1vBYh+9ldfvhjSsOoqyLRJ19xrafgyrFnG1bxucv9YOJzXJwJacKBIZZ4lQjKtzH4bpVAE15n2pAkkrQUQoo3JbgX; Original-Received: from ip4d154cb9.dynamic.kabel-deutschland.de ([77.21.76.185] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y7CWF-0005uu-3Y; Sat, 03 Jan 2015 01:24:39 +0100 In-Reply-To: (Richard Stallman's message of "Fri, 02 Jan 2015 18:25:04 -0500") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 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:180932 Archived-At: Richard Stallman writes: > I let this drop back in March -- please forgive me. > > > Maybe that's the issue for GCC, but for Emacs the issue is to get detailed > > info out of GCC, which is a different problem. My understanding is that > > you're opposed to GCC providing this useful info because that info would > > need to be complete enough to be usable as input to a proprietary > > compiler backend. > > My hope is that we can work out a kind of "detailed output" that is > enough for what Emacs wants, but not enough for misuse of GCC front ends. Anyone can write a GCC plugin that simply outputs the AST in some form. It's not that hard. The plugin itself would have to export the symbol 'plugin_is_GPL_compatible', but of course you can't control what's done with the output. No on bothers with this though, because everyone just uses libclang. > I don't want to discuss the details on the list, because I think that > would mean 50 messages of misunderstanding and tangents for each > message that makes progress. Instead, is there anyone here who would > like to work on this in detail? I'm already working on it. -David