Front page | perl.macosx |
Postings from September 2001
Re: Cocoa interfaces
Thread Previous
|
Thread Next
From:
Bob Dalgleish
Date:
September 9, 2001 07:04
Subject:
Re: Cocoa interfaces
Message ID:
B7C0D2EA.4D07%Robert.Dalgleish@sk.sympatico.ca
on 9/7/01 1:30 PM, Wilfredo Sánchez at wsanchez@MIT.EDU wrote:
> Apple has an internal Perl<->ObjC bridge which I've been asking them
> to release but they've been sitting on it and I have somewhat less
> influence on it now that I don't work there any more. It basically make
> Cocoa objects look like OO Perl objects. You say "use AppKit" and go
> from there.
>
> If you are familiar with XS and the ObjC runtime it's probably a
> straightforward thing to write. A company called TipTop
> (http://www.tiptop.com/) has also done this for Perl, as well as Python
> and Tcl. Bill Bumgarner has an open implementation for a bridge to
> Python, which one might use as a reference.
There is also a package called SWIG, which is primarily Unix and Windows
focused, although there is a Mac port available. It takes C/Objective C/C++
headers and turns them into scripting language interfaces, such as Perl, Tk,
Python, etc.
The home page is on sourceforge:
http://swig.sourceforge.net/exec.html
Thread Previous
|
Thread Next