Hi Rippel, I wrote an example application under Windows that uses the JavaScriptCore API to execute arbitrary JavaScript code. (See https://github.com/bfulgham/CallJS)
It's really not very complicated, and is also illustrated in the Inspector code in the WebKit archive. E-mail if you have any problems. -Brent Sent from my iPad On Jun 22, 2012, at 9:41 AM, rippel tippel <[email protected]> wrote: > Hi, > > I need to expose some C++ classes/methods to JavaScript using > JavaScriptCore, so that they can be instantiated/called by a > JavaScript application. > > I found plenty of documentation and examples regarding v8 and Node.js, > but not much about JavaScriptCore API (apart from some old or > incomplete docs, e.g. [1], [2], and [3]). > > Can anyone point me to some documentation and/or examples, and/or > outline the basic steps for doing it?m > > Kind regards, > Rippel > > [1] > http://article.gmane.org/gmane.os.opendarwin.webkit.user/1067/match=javascriptcore > [2] > http://developer.apple.com/library/mac/#documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/ > [3] > http://developer.apple.com/library/mac/#samplecode/JSPong/Introduction/Intro.html > _______________________________________________ > webkit-help mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
