Microsoft (R) JScript Compiler version 8.00.50727 for Microsoft (R) .NET Framework version 2.0.50727 Copyright (C) Microsoft Corporation 1996-2005. All rights reserved. jsc [options] <source files> [[options] <source files>...] JScript Compiler Options - OUTPUT FILES - /out:<file> Specify name of binary output file /t[arget]:exe Create a console application (default) /t[arget]:winexe Create a windows application /t[arget]:library Create a library assembly /platform:<platform> Limit which platforms this code can run on; must be x86, Itanium, x64, or anycpu, which is the default - INPUT FILES - /autoref[+|-] Automatically reference assemblies based on imported namespaces and fully-qualified names (on by default) /lib:<path> Specify additional directories to search in for references /r[eference]:<file list> Reference metadata from the specified assembly file <file list>: <assembly name>[;<assembly name>...] - RESOURCES - /win32res:<file> Specifies Win32 resource file (.res) /res[ource]:<info> Embeds the specified resource <info>: <filename>[,<name>[,public|private]] /linkres[ource]:<info> Links the specified resource to this assembly <info>: <filename>[,<name>[,public|private]] - CODE GENERATION - /debug[+|-] Emit debugging information /fast[+|-] Disable language features to allow better code generation /warnaserror[+|-] Treat warnings as errors /w[arn]:<level> Set warning level (0-4) - MISCELLANEOUS - @<filename> Read response file for more options /? Display help /help Display help /d[efine]:<symbols> Define conditional compilation symbol(s) /nologo Do not display compiler copyright banner /print[+|-] Provide print() function - ADVANCED - /codepage:<id> Use the specified code page ID to open source files /lcid:<id> Use the specified LCID for messages and default code page /nostdlib[+|-] Do not import standard library (mscorlib.dll) and change autoref default to off /utf8output[+|-] Emit compiler output in UTF-8 character encoding /versionsafe[+|-] Specify default for members not marked 'override' or 'hide'
There are usually a couple of 6 copies lying around on any windows install, but 5 they are not usually in the path, so you 4 have to find them.
It does require cygwin to run on Windows 3 though (or you can compile it with MingW). There are precompiled 2 binaries, including the required cygwin 1 libraries, available at node-js.prcn.co.cc.
- SpiderMonkey - From Mozilla.
jsdb is nice. I use it within editplus, sometimes within 1 Aptana Studio
But my personal favourite 1 is Rhino, mentioned in the other answer.
Ok, Windows Scripting Host is tool for performing 10 various administrative tasks using Microsoft's 9 Active Scripting and can run scripts in various languages, including 8 JScript, their ECMAScript implementation. There 7 is no much else to say about it, so point 6 your browser to the reference - http://msdn.microsoft.com/en-us/library/shzd7dy4(VS.85).aspx
Forget about 5 compiler, BTW, ECMAScript is interpreted language 4 (JIT compiling is the other issue)
Also, note 3 that ECMAScript standard does not define 2 any standard I/O, so the host program is 1 responsible for providing it.
As mentioned 5 by others, the JScript implementation of 4 ECMAScript is available by default on modern 3 Windows installations. Files with a ".js" extension 2 can be double-click executed or run on the 1 command-line using the cscript.exe command.
More Related questions