Von: glenn andreas <gandreas@mac.com>
Datum: 15. April 2008 22:07:03 MESZ
An: Cocoa Dev <cocoa-dev@lists.apple.com>
Betreff: [ANN] JSKit - JavaScript Embedding Framework
The first beta version of JSKit, an open sourced (MIT license)
framework for embedding JavaScript inside Cocoa applications is now
available at <http://projects.gandreas.com/jskit/index.html>.
JSKit provides Objective-C wrappers around the lower level
JavaScriptCore (available on 10.5 and 10.4 with Safari 3.0) and
provides transparent two way bridging technologies, allowing you to
call JavaScript objects from Objective-C and to write Objective-C
that can be called from JavaScript (including both simple functions
as well as full type-constructors). JSKit is designed as a layered
system with "opt-in" capabilities, making it well suited to using
it as a macro/embedding/scripting solution for a Cocoa app, with
explicit "exposing" of your Cocoa code code to JavaScript world
(preventing malicious JavaScript from subverting your app).
Additional layers can be added to expose generic NSObject classes,
and later versions will include the ability to write entire Cocoa
apps in JavaScript.
JSKit also includes a simple command line interactive interpreter
(for making JavaScript shell scripts), as well as utility classes
for simple JavaScript savvy editors, and a fun little "turtle
graphics" sample app (demonstrates how to use JavaScript as a
scripting extension language in your app).
JSKit can be built and used by XCode 2.4 running on Tiger (with
Safari 3.0 installed), as well as 2.5 and 3.0 running on Leopard.
Glenn Andreas gandreas@gandreas.com
<http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build,
mutate, evolve, animate
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/lars.sonchocky-
helldorf%40hamburg.de
This email sent to lars.sonchocky-helldorf@hamburg.de