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

落爺英雄遲暮 提交于 2019-12-02 19:17:55

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

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.

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...

mkchandler

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++.

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

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

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.

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

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