Question

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

Was it helpful?

Solution

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

OTHER TIPS

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top