We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
好吧,您可以从 Javascript.Net 开始,在重写/转换之前在另一个应用程序中尝试您的代码它。无论您做什么,都不要依赖自动生成的代码来实现任何重要的算法。
如果没记错的话,实际上有一种 JavaScript 风格是在 .Net CLR 上运行的。我认为它从未流行起来。
Well, you could start with Javascript.Net to try your code within another application before rewriting/converting it. Whatever you do, don't rely on auto-generated code for an algorithm of any importance.
If memory serves, there was actually a flavor of JavaScript that ran on the .Net CLR. I don't think it ever caught on.
使用 javascript.net 或 jscript 与 .net Reflector,可能会节省你的大脑和键盘
Using javascript.net or jscript with .net Reflector, will save you brain and keyboard, may be
有一种称为 UnityScript 的 JavaScript 方言,可以使用 UnityScript-to-C# 转换器将其转换为 C# 。
我还编写了一个名为 universal-transpiler 的工具,可以将 JavaScript 的一小部分转换为 C# 和几个其他语言。
JavaScript 中的输入:
通用转译器的 C# 输出:
There is a dialect of JavaScript called UnityScript that can be converted into C# using the UnityScript-to-C# converter.
I also wrote a tool called universal-transpiler can convert a small subset of JavaScript into C# and several other languages.
Input in JavaScript:
Output in C# from universal-transpiler: