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

2019-03-09 21:10发布

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

8条回答
不美不萌又怎样
2楼-- · 2019-03-09 21:46

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.

查看更多
一纸荒年 Trace。
3楼-- · 2019-03-09 21:50

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

查看更多
Viruses.
4楼-- · 2019-03-09 21:53

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

查看更多
对你真心纯属浪费
5楼-- · 2019-03-09 21:59

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

查看更多
闹够了就滚
6楼-- · 2019-03-09 22:01

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

查看更多
\"骚年 ilove
7楼-- · 2019-03-09 22:04

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

查看更多
登录 后发表回答