Writing a language for the Windows Scripting Host

2020-02-12 08:33发布

问题:

Has anyone had any experience targetting WSH in the way that VBScript, JScript, PerlScript, xbScript and ForthScript (among other) do, such that the language can be used from the command line and embedded in server-side web pages? Where do I go to get that kind of information?

回答1:

These are called Windows Script Engines and are implemented by exposing the engine via COM. There is a lot documentation on MSDN, and the actual interfaces are fairly straight forward.