List Info

Thread: using swig to generate bindings: was Re: Re: freeglut and opengl bindings




using swig to generate bindings: was Re: Re: freeglut and opengl bindings
user name
2006-11-27 20:19:47
Paolo,

I see this as a learning opportunity: I'll have a go at
converting the swig clisp module (clisp.cxx etc) to a gst
module to get a feel for the level of difficulty (c++ is
foreign to me,) and see how I do. If it turns out not to be
beyond me, then I'll have a go a more complete wrapper
module based on pythons or whatever seems most appropriate
(that is unless someone else is already working this.)

Kind regards,

Brad Watson

----- Original Message ----
From: Paolo Bonzini <paolo.bonzinilu.unisi.ch>
To: Brad Watson <whitebearded1yahoo.com>
Cc: help-smalltalkgnu.org
Sent: Monday, November 27, 2006 7:03:35 AM
Subject: Re: using swig to generate bindings: was Re: Re:  
freeglut and opengl bindings

Brad Watson wrote:
> Here's a thought: leverage the excellent work already
done for the swig clisp bindings:

The idea overall is good.  The problem is that CLISP's C
binding is way 
more powerful.  In particular, GNU Smalltalk has no support
for enums 
and variables.

Also, more work (or a wrapper layer, that SWIG is very good
at emitting) 
would be necessary to support things such as passing
structures by value.

Paolo





 
____________________________________________________________
________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
using swig to generate bindings: was Re: Re: freeglut and opengl bindings
user name
2006-11-27 21:25:41
Brad Watson wrote:
> Paolo,
> 
> I see this as a learning opportunity: I'll have a go at
converting the
 > swig clisp module (clisp.cxx etc)
> to a gst module to get a feel for the level of
difficulty (c++ is
 > foreign to me,) and see how I do. If it turns out not
to be beyond
 > me, then I'll have a go a more complete wrapper module
based on
> pythons or whatever seems most appropriate (that is
unless someone
 > else is already working this.)

I'd say base it on clisp and JNI.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )