Re: JavaScript Interpreters/Engines?



Peter Michaux wrote:
On Jan 16, 9:35 am, Thomas 'PointedEars' Lahn <PointedE...@xxxxxx>
wrote:
Doug Gunnoe wrote:
On Jan 16, 12:49 am, MohsinHijazee <mohsinhija...@xxxxxxxxx> wrote:
What if I want to give my desktop application some scripting
capabilities by exposing the object model of it. How do we do that?
Are their any JavaScript Execution Engines out their?
[...]
http://www.mozilla.org/js/spidermonkey/
Again, SpiderMonkey is a JavaScript engine. However, a JavaScript engine is
not what the OP is looking for because this is not about the programming
language but about APIs ("the object model"). Instead, they are looking for
an XUL or COM component.

I believe that spidermonkey can be used to do exactly what the OP
requests. That is what it does in Firefox, after all.

I understood the OP that they want to expose the object model as an API to
other applications, not to the application itself.

If the application is in Java than Mozilla's Rhino would be the
obvious choice.

Iff internal scripting would be what is wanted. Only the OP can clarify this.


PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
.



Relevant Pages

  • Re: JavaScript Interpreters/Engines?
    ... capabilities by exposing the object model of it. ... Are their any JavaScript Execution Engines out their? ... SpiderMonkey is a JavaScript engine. ... I believe that spidermonkey can be used to do exactly what the OP ...
    (comp.lang.javascript)
  • Re: JavaScript Interpreters/Engines?
    ... capabilities by exposing the object model of it. ... Are their any JavaScript Execution Engines out their? ... SpiderMonkey is a JavaScript engine. ...
    (comp.lang.javascript)
  • Re: Browser/JavaScript caching "code execution?" (For lack of better terminology.)
    ... On the first test my example gave me obvious results. ... Popular browsers have decent javascript engines that work pretty well ... engine for execution, all you can do is pray that it's a decent ... it looks like the memory isn't flushed. ...
    (comp.lang.javascript)
  • Charset
    ... The thing is that I have a kind of javascript based search engine that ... use a .txt as its database, it has several field delimited by tabs. ... How I don't know much about javascript, I made a PHP script that builds ... same charset that javascript. ...
    (comp.lang.php)
  • What are Document Object Models?
    ... An Object Model is provided by a host system to allow JavaScript ... Active Server Pages, Server Side JavaScript, and Windows Script Host. ...
    (comp.lang.javascript)