[Prev][Next][Index][Thread]
Re: Multiple dispatch / multimethods??
"Peter S. Housel" wrote:
> It would certainly be possible to create a tool that would parse a set of
> C++ headers and create an 'extern "C"' shim for the public interface, which
> could then be interfaced to other languages. I don't know of any such tool
> currently in existence though.
>
> Cheers,
> -Peter S. Housel- housel@acm.org http://members.home.com/housel/
Isn't this exactly what SWIG (www.swig.org) does? Most of the languages that
use SWIG only (or primarily) interface with C, but I know that (e.g.) wxWindows
and Qt (both C++ GUI toolkits) are made palatable enough that languages such as
Python, Ruby, Java, and Scheme can interface with them. How feasible would it
be to write a SWIG binding for Dylan?
Bryn
Follow-Ups:
References: