JavaScript engine for QNX?

bridged with qdn.public.devtools
Post Reply
Eric Brown

JavaScript engine for QNX?

Post by Eric Brown » Thu May 22, 2003 5:55 pm

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

Re: JavaScript engine for QNX?

Post by David Inglis » Fri May 23, 2003 1:33 pm

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.

Eric Brown

Re: JavaScript engine for QNX?

Post by Eric Brown » Tue May 27, 2003 10:59 pm

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.

David Inglis

Re: JavaScript engine for QNX?

Post by David Inglis » Wed May 28, 2003 12:47 pm

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.

Post Reply

Return to “qdn.public.devtools”