Creating a scripting language

本秂侑毒 提交于 2019-12-04 01:09:44

问题


Can somebody please guide me in the right direction of creating a scripting language that targets the WSH (Windows Scripting Host)?

I have googled for it, but there seem to be far fewer links related to this than when I originally searched for it a few months back.

THank you


回答1:


You should be able to find all necessary information about creating Windows Script engines on MSDN; other than that there seems to be no resources available (at least I couldn't find any). You can also take a look at some open-source engine implementations to get the idea of what your code should look like:

  • PHPScript
  • ActiveScriptRuby
  • Open Object Rexx

If you have any specific questions about implementing Windows Script interfaces, feel free to ask them here. Good luck!




回答2:


The product is now called "Windows Script Host". The MSDN documentation suggests that what you want is a Windows Script Engine, about which the documentation claims that you can create one for any programming language or environment—presumably including one you create yourself. Beyond that, the documentation is not terribly clear.




回答3:


Topic starter need to carefully read the script56.chm, which can be found on MSDN. This help file describes WSH engine specification.



来源:https://stackoverflow.com/questions/2439929/creating-a-scripting-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!