JavaScript engine for QNX?

I’m trying to port my application to QNX. My app currently uses
JScript for various functions (expression evaluation, and so forth).

Is there a JavaScript engine available on QNX that I can integrate
into my application? I know that Voyager supports JavaScript; how
tightly is that bound to the Voyager browser? Can I feed it
JavaScript source & invoke JavaScript functions without having a
browser around?

I’m fairly new at QNX, and I haven’t seen any docs for Voyager or
other integration.

If you email a response, remove the online bit of my address.

The Javasript engine in Mozilla could be used.

Eric Brown wrote:

I’m trying to port my application to QNX. My app currently uses
JScript for various functions (expression evaluation, and so forth).

Is there a JavaScript engine available on QNX that I can integrate
into my application? I know that Voyager supports JavaScript; how
tightly is that bound to the Voyager browser? Can I feed it
JavaScript source & invoke JavaScript functions without having a
browser around?

I’m fairly new at QNX, and I haven’t seen any docs for Voyager or
other integration.

If you email a response, remove the online bit of my address.

David Inglis wrote:
Since I don’t know that much about Mozilla, does anybody know how
modular Mozilla is? Can I just lift out the Javascript engine without
pulling a bunch of support libs out as well?

The Javasript engine in Mozilla could be used.

Eric Brown wrote:
I’m trying to port my application to QNX. My app currently uses
JScript for various functions (expression evaluation, and so forth).

Is there a JavaScript engine available on QNX that I can integrate
into my application? I know that Voyager supports JavaScript; how
tightly is that bound to the Voyager browser? Can I feed it
JavaScript source & invoke JavaScript functions without having a
browser around?

I’m fairly new at QNX, and I haven’t seen any docs for Voyager or
other integration.

If you email a response, remove the online bit of my address.

Yes, you should be able to pull out the JS component from
Mozilla as a lib, they use a few function from their NSPR lib
but it shouldn’t be to difficult to cover these yourself.

see ‘js/src’ in the mozilla source tree.

Eric Brown wrote:

David Inglis wrote:
Since I don’t know that much about Mozilla, does anybody know how
modular Mozilla is? Can I just lift out the Javascript engine without
pulling a bunch of support libs out as well?


The Javasript engine in Mozilla could be used.

Eric Brown wrote:

I’m trying to port my application to QNX. My app currently uses
JScript for various functions (expression evaluation, and so forth).

Is there a JavaScript engine available on QNX that I can integrate
into my application? I know that Voyager supports JavaScript; how
tightly is that bound to the Voyager browser? Can I feed it
JavaScript source & invoke JavaScript functions without having a
browser around?

I’m fairly new at QNX, and I haven’t seen any docs for Voyager or
other integration.

If you email a response, remove the online bit of my address.