chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] SWIG for CHICKEN


From: Peter Keller
Subject: Re: [Chicken-users] SWIG for CHICKEN
Date: Fri, 14 Feb 2003 03:05:39 -0600
User-agent: Mutt/1.4i

On Sun, Dec 15, 2002 at 11:24:34PM -0500, Jonah Beckford wrote:
> I have been augmenting SWIG to generate wrappers for CHICKEN.  I haven't
> yet submitted my additions to the SWIG team ... I won't until I can get
> some verification (from smarter CHICKEN developers) whether the
> generated wrapper code looks reasonable.  So far, two simple C ->
> CHICKEN examples run successfully on my cygwin box ... my short-term
> goal is to get most of the SWIG Guile examples to run with CHICKEN.
> 
> SWIG Description:
> SWIG is a software development tool that connects programs written in C
> and C++ with a variety of high-level programming languages. SWIG is
> primarily used with common scripting languages such as Perl, Python,
> Tcl/Tk, Ruby, Guile and MzScheme, however the list of supported
> languages also includes non-scripting languages such as Java and OCAML.
> 
> SWIG CHICKEN Page:
> http://beckford.homeip.net/swig/ [Doesn't have 99.999% uptime].
> 
> SWIG Page: 
> http://www.swig.org

Hey, SWIG looks cool. I've heard about it, but never used it; so I'm 
checking it out now.

Out of curiosity though, how would you implement a swig interface file
for zlib? The main problem is that you must pass structures back and forth
from scheme to the c layer while being able to modify the contents of the
structure in scheme.

How would you represent this in swig? The interface for zlib is not that
big, and a google search will find you the manual for it extremely quickly.

Thanks.

-pete




reply via email to

[Prev in Thread] Current Thread [Next in Thread]