[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] JSKit - JavaScript Embedding Framework
From: |
Helge Hess |
Subject: |
Re: [ANN] JSKit - JavaScript Embedding Framework |
Date: |
Wed, 16 Apr 2008 00:35:22 +0200 |
Hi,
is JavaScriptCore OpenSource / available for GNUstep?
I also wrote a Mozilla SpiderMonkey JavaScript/ObjC bridge a few years
ago, its still in the SOPE recycler:
http://svn.opengroupware.org/SOPE/trunk/Recycler/NGJavaScript/
http://svn.opengroupware.org/SOPE/trunk/Recycler/NGScripting/
Not sure whether it still works with a current SpiderMonkey, but it
was reasonably nice.
Greets,
Helge
On 15.04.2008, at 22:52, Lars Sonchocky-Helldorf wrote:
this could be interesting to some of you:
Anfang der weitergeleiteten E-Mail:
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
--
Helge Hess
http://www.helgehess.eu/