From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tristan Colgate Newsgroups: gmane.lisp.guile.user,gmane.comp.programming.swig Subject: swig guile2 Date: Sat, 19 Mar 2011 20:08:54 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1300565347 28246 80.91.229.12 (19 Mar 2011 20:09:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 20:09:07 +0000 (UTC) To: swig-user@lists.sourceforge.net, guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Mar 19 21:09:02 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q12SM-0007Q7-MA for guile-user@m.gmane.org; Sat, 19 Mar 2011 21:09:02 +0100 Original-Received: from localhost ([127.0.0.1]:52716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q12SL-0001No-Rm for guile-user@m.gmane.org; Sat, 19 Mar 2011 16:09:01 -0400 Original-Received: from [140.186.70.92] (port=49176 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q12SH-0001MX-Qd for guile-user@gnu.org; Sat, 19 Mar 2011 16:08:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q12SG-0003Sf-QQ for guile-user@gnu.org; Sat, 19 Mar 2011 16:08:57 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:36906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q12SG-0003SW-LX for guile-user@gnu.org; Sat, 19 Mar 2011 16:08:56 -0400 Original-Received: by wyf19 with SMTP id 19so5298912wyf.0 for ; Sat, 19 Mar 2011 13:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=gTZ3e3Z7bOlkHazRdM/fkOqZa0ZNdaRhSlNEQ43QvJ0=; b=SNF+2euByl2RBNi+TkLYc8waNa8F1o+/u88uCCrc/BdfMvGWBuQF32tSVMFfgdzIKT j2ACk+PEWOEMFBk2YiZijv7/D+k8JSJxN+X2wdi0jkcmOf8LKpvrJUjzMrHlH2gnvS9c JZhvdwIxGiQ7zigA2EB1DhteqzkA6QSgaPuBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nf7VQYFglq74Lt1WI4dnVEQz4J8TTBM+6d9QdI7GxSBFcgBQf4bbsjXh1Et116yk7d YockIhk55eZAaMrub6aK68VXRnsmKE4iEnX6IV5kpBaf1OyO85iYf+9eraNsqX8tubkY Jrt7R9FivudLfGrIGKTqEk1eyaoDu3/2QM9xo= Original-Received: by 10.216.58.200 with SMTP id q50mr2335785wec.83.1300565334915; Sat, 19 Mar 2011 13:08:54 -0700 (PDT) Original-Received: by 10.216.254.136 with HTTP; Sat, 19 Mar 2011 13:08:54 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8546 gmane.comp.programming.swig:17082 Archived-At: Hi All, I'm working on a couple of projects using guile and swig and recently did some work to put together a guile2 module for swig. I started out by trying to add guile2 support to the existing guile support but the focus on the old GH interface meant things started to get messy so I've basically copied the old guile module and removed all the legacy gh support and updated the memory management for guile2. It is a bit of a hack but as far as I can tell it is working OK for me at the moment. I thought now would be a good time to announce the effort and gauge opinion. Guile2 has lots of nice features and I think a dedicated module could do interesting things without breaking legacy support. Guile 2 has an FFI that could potententially be useful in the future (I like SWIGs typemaps far too much to have moved away from swig all together though). The code is currently on github, and I would welcome feedback. It is a bit rough and ready, and my knowledge of SWIG internals is pretty rudimentary, so I'd welcome comment and advise (and patches), from all sides. http://github.com/tcolgate/swig-guile2 Be sure to check out the guile2 branch. -- Tristan Colgate-McFarlane ---- "You can get all your daily vitamins from 52 pints of guiness, and a glass of milk"