Hello! I'm making a cocoa wrapper / ffi (I keep getting confused what to call these files)
Any how, I wanted to see if anyone have any suggestions how the best way would be to port a objective c class / object to scheme would be. I want to port them in such a way that it gives as much freedom as possible to the scheme developer.
Best regards, Tomas Möre
Afficher les réponses par date
The best open source objective-c/cocoa bridge for anything in the lisp/scheme family of languages is clozure common lisp's. You might want to look at the source to see what they do. I know that they use ffigen http://www.ccs.neu.edu/home/lth/ffigen/ to parse apple's cocoa headers. There's a trac page with some details here http://trac.clozure.com/ccl/wiki/BuildFFIGEN
hth Ralph
Sent from my iPad
On Dec 18, 2013, at 9:53 AM, Tomas Möre tomas.o.more@gmail.com wrote:
Hello! I'm making a cocoa wrapper / ffi (I keep getting confused what to call these files)
Any how, I wanted to see if anyone have any suggestions how the best way would be to port a objective c class / object to scheme would be. I want to port them in such a way that it gives as much freedom as possible to the scheme developer.
Best regards, Tomas Möre _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
On Dec 18, 2013, at 9:53 AM, Tomas Möre tomas.o.more@gmail.com wrote:
Hello! I'm making a cocoa wrapper / ffi (I keep getting confused what to call these files)
Any how, I wanted to see if anyone have any suggestions how the best way would be to port a objective c class / object to scheme would be. I want to port them in such a way that it gives as much freedom as possible to the scheme developer.
Best regards, Tomas Möre
Before putting too much work into this, please get in touch with Jason Felice. He has done quite a bit of work in this direction (see https://github.com/maitria/gambit-objc).
Marc