From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Kjetil S. Matheussen" Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile Summer of Code project Date: Tue, 25 Mar 2008 18:47:48 +0100 (CET) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1206467324 30460 80.91.229.12 (25 Mar 2008 17:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2008 17:48:44 +0000 (UTC) Cc: guile-devel@gnu.org To: "Kjetil S. Matheussen" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 25 18:49:14 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JeDGh-0004SZ-CF for guile-devel@m.gmane.org; Tue, 25 Mar 2008 18:49:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeDG6-0005lg-6p for guile-devel@m.gmane.org; Tue, 25 Mar 2008 13:48:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeDG3-0005lX-ED for guile-devel@gnu.org; Tue, 25 Mar 2008 13:48:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeDG1-0005j9-BU for guile-devel@gnu.org; Tue, 25 Mar 2008 13:48:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeDG1-0005ip-4D for guile-devel@gnu.org; Tue, 25 Mar 2008 13:48:21 -0400 Original-Received: from smtp.getmail.no ([84.208.20.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JeDG0-0003z2-RM for guile-devel@gnu.org; Tue, 25 Mar 2008 13:48:21 -0400 Original-Received: from pmxchannel-daemon.no-osl-m323-srv-009-z2.isp.get.no by no-osl-m323-srv-009-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) id <0JYA00C1TS49W900@no-osl-m323-srv-009-z2.isp.get.no> for guile-devel@gnu.org; Tue, 25 Mar 2008 18:48:09 +0100 (CET) Original-Received: from smtp.getmail.no ([10.5.16.1]) by no-osl-m323-srv-009-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JYA007U1S3TET80@no-osl-m323-srv-009-z2.isp.get.no> for guile-devel@gnu.org; Tue, 25 Mar 2008 18:47:53 +0100 (CET) Original-Received: from cm-84.215.136.96.getinternet.no ([84.215.136.96]) by no-osl-m323-srv-009-z1.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JYA006XYS3TEN30@no-osl-m323-srv-009-z1.isp.get.no> for guile-devel@gnu.org; Tue, 25 Mar 2008 18:47:53 +0100 (CET) In-reply-to: X-X-Sender: kjetil@ttleush X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:7094 Archived-At: On Tue, 25 Mar 2008, Kjetil S. Matheussen wrote: > > Neil Jerram: >> >> Luis Araujo writes: >> >> > Hello everyone , how are you? >> >> Hi Luis! >> >> Thanks for posting this proposal. I haven't read every detail yet, >> but have one initial query, and would be interested in your thoughts. >> >> It seems like it would be a big job to write a C parser in Guile, and >> it also seems that the really interesting results would flow from what >> one could do with the parser output - but that the existence of the >> parser on its own would not be that exciting. >> >> Therefore I'm wondering if there isn't already a C parser - >> implemented in some other language - that you could use to work first >> on the interesting possible applications of having a C parser. >> >> This is all assuming, of course, that there is a C parser available >> somewhere that would generate the right kind of output, and I haven't >> actually researched that. But it seems to me that the advantages of >> doing things this way round would be that >> >> - it would bring concrete advantages to Guile more quickly >> >> - the process of working on applications would probably make clear >> whether a Guile-implemented C parser would provide extra benefits, >> and would probably indicate what kind of parser interface and/or >> output would be most useful and convenient. >> >> What do you think? >> > > For me it sounds like you would achieve exactly the same just > by combining the output of either swig[1] or gwrap[2] and > feed it into eval-c[3-4]. Perhaps 5-6 hours of work, probably > less... > > [1] http://www.swig.org > [2] http://www.nongnu.org/g-wrap/ > [3] http://snd.cvs.sourceforge.net/*checkout*/snd/cvs-snd/eval-c.scm > [4] http://www.notam02.no/~kjetism/sndrt_lac2008.pdf > > Also see this mail from december: http://www.mail-archive.com/guile-devel@gnu.org/msg02034.html