standalone javascript engine?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob

    standalone javascript engine?

    Hi!
    I need a standalone javascript engine so that I can run the javascript
    statements directly from the command line(just like the interpreted
    languages) without using any internet environment.
    Is it possible? or Is such kind of an engine is available?

    Since modern browser comes with the inbuilt javascript facility, I
    knwo there must be some inbuilt-plugin for executing javascript
    commands.?
    Can separate that plugin from the browser?
    Which are the files associated with javascript command execution?

    Greetings,
    Bob
  • Evertjan.

    #2
    Re: standalone javascript engine?

    Bob wrote on 04 okt 2004 in comp.lang.javas cript:
    [color=blue]
    > I need a standalone javascript engine so that I can run the javascript
    > statements directly from the command line(just like the interpreted
    > languages) without using any internet environment.
    >[/color]

    cscript

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress,
    but let us keep the discussions in the newsgroup)

    Comment

    • Berislav Lopac

      #3
      Re: standalone javascript engine?

      On 4 Oct 2004 01:29:14 -0700, Bob wrote:
      [color=blue]
      > Hi!
      > I need a standalone javascript engine so that I can run the javascript
      > statements directly from the command line(just like the interpreted
      > languages) without using any internet environment.
      > Is it possible? or Is such kind of an engine is available?[/color]


      Comment

      • Martin Honnen

        #4
        Re: standalone javascript engine?



        Bob wrote:

        [color=blue]
        > I need a standalone javascript engine so that I can run the javascript
        > statements directly from the command line(just like the interpreted
        > languages) without using any internet environment.
        > Is it possible? or Is such kind of an engine is available?
        >
        > Since modern browser comes with the inbuilt javascript facility, I
        > knwo there must be some inbuilt-plugin for executing javascript
        > commands.?
        > Can separate that plugin from the browser?
        > Which are the files associated with javascript command execution?[/color]

        Check http://www.mozilla.org/js/ for Spidermonkey, the C implementation
        of JavaScript/ECMAScript, that engine is used in Mozilla browsers like
        Mozilla Seamonkey, Mozilla Firefox, Netscape 6/7.
        There is also a Java implementation called Rhino.

        If you are on Windows then there is Window Script Host to automate
        Windows with J(ava)Script or VBScript, I think the JScript engine can
        even be embedded in your own applications. Check



        --

        Martin Honnen

        Comment

        Working...