[removed] Standalone compiler or interpreter for Windows?

前端 未结 9 913
半阙折子戏
半阙折子戏 2021-02-05 18:19

What are the JavaScript compilers or interpreters available for Windows?

I read the book Eloquent JavaScript recently.

9条回答
  •  萌比男神i
    2021-02-05 18:33

    Perhaps a bit convoluted for what you're looking for but you can use Rhino's JavaScript Compiler to compile JavaScript source code into Java class files which can then be compiled to binary executable programs using the standard GCJ frontend to the GCC compiler suite.

    As mentioned by others, the JScript implementation of ECMAScript is available by default on modern Windows installations. Files with a ".js" extension can be double-click executed or run on the command-line using the cscript.exe command.

提交回复
热议问题