how to interact with JavaScript?

C. Abney cabney at cyberpass.net
Wed Apr 26 21:41:08 CDT 2000


~sdpm~
On Wed, 26 Apr 2000, Bobby Kleemann wrote:
> On Wed, 26 Apr 2000, C. Abney wrote:
> > On Wed, 26 Apr 2000, John R. Comeau wrote:

> > > I am asking about the 2nd item.  I want to write a Perl program to
> > > interact with someone else's JavaScript.
> > 
> > That's a pretty neat question, one I'd never considered... I don't know
> > what's happening in the Perl/Un*x/OSS world, but Microsoft reportedly
> > has a Javascript interpreter that you can use... if your code is
> > running on a windows box you might be able to glue something together.
> > 
> > Is there anything like this for us Un*x ppl???
> 
> I believe the Mozilla project has one written in C/C++ and another written
> in Java that you can use, but I don't know the requirements.

Oh, that's nice.  Information (on the C implementation) is here:

	http://www.mozilla.org/js/spidermonkey/

The java-based version is called 'rhino'.

Some examples of the use of the interpreter (presumably as a standalone
executable, it can be compiled as such) is here:

	http://www.mozilla.org/js/projects.html

CA
-- 
Einstein himself said that God doesn't roll dice. But he was wrong. And
in fact, anyone who has played role-playing games knows that God
probably had to roll quite a few dice to come up with a character like
Einstein.  -- Larry Wall                                     C. Abney

~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list