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:19:59 +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 1206465696 24313 80.91.229.12 (25 Mar 2008 17:21:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2008 17:21:36 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 25 18:22:05 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 1JeCqO-0002eO-Cf for guile-devel@m.gmane.org; Tue, 25 Mar 2008 18:21:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeCpm-0007bg-Um for guile-devel@m.gmane.org; Tue, 25 Mar 2008 13:21:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeCpj-0007Ym-Mr for guile-devel@gnu.org; Tue, 25 Mar 2008 13:21:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeCpi-0007WZ-H1 for guile-devel@gnu.org; Tue, 25 Mar 2008 13:21:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeCpi-0007WQ-DP for guile-devel@gnu.org; Tue, 25 Mar 2008 13:21:10 -0400 Original-Received: from smtp.getmail.no ([84.208.20.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JeCpi-0005eY-8g for guile-devel@gnu.org; Tue, 25 Mar 2008 13:21:10 -0400 Original-Received: from pmxchannel-daemon.no-osl-m323-srv-004-z2.isp.get.no by no-osl-m323-srv-004-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) id <0JYA00107QUXG100@no-osl-m323-srv-004-z2.isp.get.no> for guile-devel@gnu.org; Tue, 25 Mar 2008 18:20:57 +0100 (CET) Original-Received: from smtp.getmail.no ([10.5.16.1]) by no-osl-m323-srv-004-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JYA00866QTGR7D0@no-osl-m323-srv-004-z2.isp.get.no> for guile-devel@gnu.org; Tue, 25 Mar 2008 18:20:04 +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 <0JYA00C1BQTGL8F0@no-osl-m323-srv-009-z1.isp.get.no> for guile-devel@gnu.org; Tue, 25 Mar 2008 18:20:04 +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:7093 Archived-At: 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