On 28 Aug 2003, Karim wrote:
> I think to have modula 3 bindings for sdl would increase the interest
> and the popularity of this language. But I don`t have any idea, how to
> do that.
It would increase interest even more if one could generally simplify
usage of C libraries. I have recently learnt that SWIG was made for the
purpose of simplifying to call C/C++ libraries from any high level
language. So I started to integrate Modula-3 sup****t into it. It's a hard
work but I think that's the only way we can always keep up to date to the
development of such libraries.
I strongly suggest to invest some time to convince the SDL developers to
sup****t SWIG (www.swig.org) unless they already do so. With limitted
amount of work they would sup****t many scripting languages, Java, C# and -
the most im****tant - Modula 3 in future, I hope. Sup****ting SWIG means to
extend the plain C/C++ interface by hints for SWIG how to turn the
low-level types to high-level ones, how to rename identifiers (e.g.
removing qualification like prefixes) and so on. It's intended to give
SWIG as much hints as possible such that no manual post-processing of the
interface modules is necessary.
If the SDL people are ready with this work we may also be ready with a
fine Modula 3 sup****t for SWIG. :-]


|