Skip navigation.
 
ml[ANN] JSKit - JavaScript Embedding Framework
FROM : glenn andreas
DATE : Tue Apr 15 22:07:03 2008

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                      <email_removed>
  <http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build, 
mutate, evolve, animate

Related mailsAuthorDate
ml[ANN] JSKit - JavaScript Embedding Framework glenn andreas Apr 15, 22:07
mlRe: [ANN] JSKit - JavaScript Embedding Framework Jens Alfke Apr 15, 23:13
mlRe: [ANN] JSKit - JavaScript Embedding Framework glenn andreas Apr 15, 23:53