Any Javascript Engine for .NET/C#? [closed]

早过忘川 提交于 2019-12-03 05:55:20

问题


I'm looking for an open source javascript engine for .NET. Thanks.


回答1:


You can check Jint which is a Javascript interpreter for .NET.




回答2:


Try Javascript .NET:

http://javascriptdotnet.codeplex.com/

It implements Google V8. You can compile and run Javascript directly from .NET code with it, and supply CLI objects to be used by the Javascript code as well. And V8 is probably the best engine ever created in terms of performance, it generates native code from Javascript.




回答3:


There was, at one time, a clone of JavaScript that ran on the DLR. But now it's dead.

A quick search turns up RemObjects Script and ECMAScript.NET. Might as well start there...




回答4:


You might want to check out Managed JScript. It sounds like something you are looking for, but I don't really know much about it.

Edit: Sounds like Managed JScript is dead according to another post, so I would look into Google's V8.

You can also use Google's V8 Engine from .NET. Check out this other question, and the provided solution: Referencing Google's V8 engine from a .NET app. This example uses Managed C++.




回答5:


If your point 'engine' is Javascript Parser,I think MS JScript.NET has the ability to do this,Take a look this article:http://www.odetocode.com/code/80.aspx




回答6:


You can take a look at this project http://javascriptdotnet.codeplex.com/ which look like what you are looking for.




回答7:


What do you mean 'engine for .net'?

Regardless, there is Microsofts AJAX Framework, or jQuery. Microsofts is integrated via controls and so on, but I prefer jQuery.




回答8:


Here's a recent project I came across: script_sharp, to write JavaScript using the C# language. You write it in C# and it gets turned into JavaScript.

http://weblogs.asp.net/rosherove/archive/2009/08/11/script-script-sharp-solving-the-javascript-overload-problem.aspx



来源:https://stackoverflow.com/questions/1283370/any-javascript-engine-for-net-c

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