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:57:16 +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 1206640793 4133 80.91.229.12 (27 Mar 2008 17:59:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2008 17:59:53 +0000 (UTC) Cc: sveinb@ppv.org To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 27 19:00:22 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 1JewOj-0000GL-Gh for guile-devel@m.gmane.org; Thu, 27 Mar 2008 19:00:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JewO8-0002z8-3K for guile-devel@m.gmane.org; Thu, 27 Mar 2008 13:59:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JewO5-0002yl-5m for guile-devel@gnu.org; Thu, 27 Mar 2008 13:59:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JewO4-0002yV-J1 for guile-devel@gnu.org; Thu, 27 Mar 2008 13:59:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JewO4-0002yS-CF for guile-devel@gnu.org; Thu, 27 Mar 2008 13:59:40 -0400 Original-Received: from smtp.getmail.no ([84.208.20.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JewO3-0003pi-Vq for guile-devel@gnu.org; Thu, 27 Mar 2008 13:59:40 -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 <0JYE00J09HZ5RP00@no-osl-m323-srv-009-z2.isp.get.no> for guile-devel@gnu.org; Thu, 27 Mar 2008 18:59:29 +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 <0JYE001GLHVLVM70@no-osl-m323-srv-009-z2.isp.get.no> for guile-devel@gnu.org; Thu, 27 Mar 2008 18:57:21 +0100 (CET) Original-Received: from cm-84.215.136.96.getinternet.no ([84.215.136.96]) by no-osl-m323-srv-004-z1.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JYE00FDMHVLPCB0@no-osl-m323-srv-004-z1.isp.get.no> for guile-devel@gnu.org; Thu, 27 Mar 2008 18:57:21 +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:7106 Archived-At: On Thu, 27 Mar 2008, Kjetil S. Matheussen wrote: > > 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. > > I should have provided the main link for the project as well: http://www.jsext.net/main.jsx I think jsext has developed a lot since the posting of the link I gave. However, the info in the link above demonstrates very well the intention of jsext, which seems to be exactly the same as this gnu summer of code project proposal. Perhaps, if jsext is written in C (I'm not sure, maybe it is), its just porting jsext to guile, and thats it...