This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: interfacing GSL Pop11/Poplog
- To: Aaron Sloman <A dot Sloman at cs dot bham dot ac dot uk>
- Subject: Re: interfacing GSL Pop11/Poplog
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Mon, 4 Jun 2001 13:28:27 +0100 (BST)
- Cc: gsl-discuss at sources dot redhat dot com
- References: <200106021831.TAA17675@preston.cs.bham.ac.uk>
Aaron Sloman writes:
> Does anyone know of any similar effort to link GSL to an interactive AI
> language, e.g. Lisp?
There is a list of "related projects" at http://sources.redhat.com/gsl/
Currently python & perlDL are listed.
> Anyhow, if you have any comments, suggestions, warnings, or pointers to
> similar work linking GSL to an AI or other interactive language, please
> let me know, and I'll pass them on to others who are interested in
> contributing to this.
I have used the SWIG wrapper generator to wrap small parts of the GSL
to perl, python and scheme (guile) in the past. It worked ok, but the
binding is a mechanical translation -- one needs to define extensive
'typemaps' in SWIG to improve the mapping to the high-level language.
For languages not supported by SWIG it is also possible to use the
perl module C::Scan to parse C headers and automatically create a
wrapper that way. I haven't tried that.
regards
Brian Gough