I've played around with building double-clickable apps with carbon,
but I haven't gotten to the objc/cocoa bridge state yet. Doing
something like the CLOS/cocoa bridge from OpenMCL seems a bit
complicated, but just calling objc_mesg_send or whatever it is should
be fairly straightforward (famous last words).
In any case, I'm very interested in working on something like this.
In particular, access to the CoreGraphics/CoreVideo is something I'd
like to have. I'd be interested in hearing more details about how the
stuff you've got so far is working.
On Nov 22, 2005, at 12:33 PM, Michael Price wrote:
> Has anyone played around with using sbcl and CFFI to interface with
> objective-c cocoa code on Mac OS X?
> I have a small roguelike engine written in lisp that was designed to
> be the "M" in a MVC application. I'd like the view to be cocoa with
> the controller interfacing between the two using CFFI (or something
> like it.) The interface to the model is simple and only calls for
> passing strings and the occasional structure back and forth.
> I can just stick sbcl and the relevant core image in the resource
> bundle and give Mac users the standard drag-and-drop interface to
> application installation.Other than the download being a bit larger
> than Mac users are accustomed to I think this is a win-win scenario --
> I get to write most of the application in LISP without having to
> burden the end user with installing LISP (or even knowing its there.)
> Has anyone done something similar? I'd be interested in potential
> pitfalls before going too far down this path.
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> Sbcl-help mailing list