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: Thu, 27 Mar 2008 18:36:54 +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 1206639575 31872 80.91.229.12 (27 Mar 2008 17:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2008 17:39:35 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 27 18:40:04 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 1Jew56-0007zu-5S for guile-devel@m.gmane.org; Thu, 27 Mar 2008 18:40:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jew4U-0005bE-Mb for guile-devel@m.gmane.org; Thu, 27 Mar 2008 13:39:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jew4R-0005af-Vw for guile-devel@gnu.org; Thu, 27 Mar 2008 13:39:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jew4Q-0005Zt-8m for guile-devel@gnu.org; Thu, 27 Mar 2008 13:39:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jew4Q-0005Zi-3Q for guile-devel@gnu.org; Thu, 27 Mar 2008 13:39:22 -0400 Original-Received: from smtp.getmail.no ([84.208.20.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jew4P-0006Vh-S6 for guile-devel@gnu.org; Thu, 27 Mar 2008 13:39:22 -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 <0JYE0013OH0T3K00@no-osl-m323-srv-004-z2.isp.get.no> for guile-devel@gnu.org; Thu, 27 Mar 2008 18:38:53 +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 <0JYE00MRJGXNEO10@no-osl-m323-srv-004-z2.isp.get.no> for guile-devel@gnu.org; Thu, 27 Mar 2008 18:36:59 +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 <0JYE00GHCGXN1BC0@no-osl-m323-srv-009-z1.isp.get.no> for guile-devel@gnu.org; Thu, 27 Mar 2008 18:36:59 +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:7105 Archived-At: Ludovic Court?s: >> Therefore, being able to parse and access C code from Scheme/Guile itself, >> and handling such a code like any other Scheme object would clearly >> benefit the community opening many new possibilities. >> >> For example, creating Guile bindings through a foreign function generator >> using the parser on headers for popular C libraries and applications >> would be plain easy. > > Again, I'm not convinced that such a tool would suffice to make FFI > generation "plain easy". > One project who actually makes this conversion "plain easy", is jsext: http://www.thescripts.com/forum/thread528081.html jsext is a library for javascript which automatically creates wrappers on the fly out of c header files. I know it works, because I once got a personal demonstration from the author of it. :-) Might be worth looking at as well.