2012-08-08

first-class cocoa scripting

7.3: web.adda/the ruby lang like nu
has a scriptable interface to cocoa:
. nu and macruby have a scriptable interface to cocoa
that is direct, not like macpython
which merely embeds a portable engine .
. hello, MacRuby!
MacRuby's source, and dev' Resources;
motivation for the project,
and, how it works:
The Libffi library is used
to create closures at runtime
and inject them, either in
the Objective-C runtime or YARV,
but also to perform C or Objective-C calls.
. Libffi is also used by CPython's
standard ctypes library.

No comments:

Post a Comment