[plt-scheme] MzScheme + SWIG: howto?

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jun 26 10:14:25 EDT 2009

On Jun 26, Neil Van Dyke wrote:
> Elena Garrulo wrote at 06/25/2009 12:45 PM:
> > I'd like to use SWIG to wrap an existing (Win32) library for use
> > with MzScheme.
> 
> I recommend using the FFI, if possible.
> 
> http://doc.plt-scheme.org/foreign/index.html
> 
> I have been impressed with how well the FFI works in practice.

IIRC, the SWIG interface is still doing C extensions, which should be
compiled with mzc.  It would be really easy to adapt the mzscheme
backend of SWIG to generate `scheme/foreign' but nobody did it.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.