3

The lastest release (0.9 Stable) of the Dynamic Language Runtime contains IronPython and IronRuby, but it doesn't contain Managed JScript.

Does anyone know where I can download the latest release of Managed JScript for use with ASP.NET and/or WPF?

In case you aren't aware, JScript.NET and Managed JScript are too different things. What I'm looking for is Managed JScript.

Chris Pietschmann
  • 29,502
  • 35
  • 121
  • 166

8 Answers8

4

Update...

The Silverlight Dynamic Language SDK 0.5.0 Release Notes posted March 23rd, 2009 on CodePlex, contained this little gem:

Managed JScript has been removed from the package.

When asked in this thread about the future of Managed JScript (IronJScript), Bill (billchi), a coordinator on the Dynamic Language Runtime forum, had the following to say:

The DLR JScript was experimental for informing the design of the DLR (expression trees, interop, callsites, hosting, etc.). The JS we released with asp futures and the Silverlight dynamic sdk became very old and unserviceable as the DLR continued evolving for release in CLR 4.0. Unfortunately, there are no plans at this time to develop and release a DLR-hostable JScript.

Thanks,

Bill

(edit to add quote from a later post)

The JScript team will continue supporting using native Jscript (jscript.dll) with IActiveScript. They’ll also continue to service Jscript.NET, but they aren’t making other commitments at this point.

Bill

Considering the JScript.NET scripting API's are now all obsolete (though they are still present in .NET 2.0), there therefore appears to be no .NET upgrade path off of the ActiveScripting implementation of JScript (JavaScript).

May I suggest that discussion (protest ;-) be directed to that thread.

James Hugard
  • 3,232
  • 1
  • 25
  • 36
  • Note that the main issue blocking our commercial use of JScript.NET is that there does not appear to be (a documented) method of initializing the script's global scope and retaining scope when calling into functions and methods - the globals appear to be left unintialized. Going to post a question here about doing just that. – James Hugard Jun 01 '09 at 23:01
  • See question at http://stackoverflow.com/questions/937351/can-jscript-net-be-used-to-script-a-net-application – James Hugard Jun 02 '09 at 00:01
  • 1
    Oh that totally blows. So it's going to be supported in Silverlight only? Is that the gist of this? – Nosredna Jun 02 '09 at 00:54
  • That's amazing. That kills all kinds of porting possibilities between platforms. – Nosredna Jun 02 '09 at 03:53
  • Nope, gone - that should have read "removed from the *Silverlight* DLR SDK". Answer updated. – James Hugard Jun 02 '09 at 03:55
2

Never fear, Fredrik Holmström is working on IronJS, an implementation of JavaScript on the DLR in F#. He's currently targeting .NET 2.0, 3.5, and 4.0, as well as Mono 2.6, but would eventually like to get to Silverlight integration when the library becomes more stable.

1

download Managed JS: http://www.microsoft.com/downloads/details.aspx?FamilyID=a5189bcb-ef81-4c12-9733-e294d13a58e6&displaylang=en

sp42
  • 11
  • 1
1

Rumor this week out of the Redmond "Metro" DotNet futures conference is that MSFT decided to kill ManagedJScript on the DLR.

That's the reason we aren't hearing anything about it.

Andrew Csontos
  • 647
  • 7
  • 6
0

Have you seen ROScript? http://www.remobjects.com/script.aspx Supposed to support both ECMAScirpt and PascalScript

George Birbilis
  • 2,782
  • 2
  • 33
  • 35
0

According to this blog post, Managed JScript is delivered as part of Silverlight 2 (1.1). To write applications you'll want the Dynamic Language SDK.

edit: For ASP.NET, it is available in the ASP.NET Futures but that has been "retired" according to this entry and isn't currently available in another official release.

Steven Lyons
  • 8,138
  • 1
  • 28
  • 27
  • Yes that would work if I were looking to use it in Silverlight, but I'm looking to use Managed JScript with ASP.NET and possibly even WPF. – Chris Pietschmann Apr 22 '09 at 02:59
  • I should have been more clear about the releases. I've added a clarification to the answer. – Steven Lyons Apr 22 '09 at 04:48
  • Maybe I'll have to try getting the Silverlight version to work with ASP.NET and/or WPF. It sucks they've discontinued it. I've wanted to write "real" applications using JavaScript for a long time to see how the experience could be using the language in that way. Now I just need to find the time to play with this stuff. Thanks. – Chris Pietschmann Apr 22 '09 at 14:46
  • Good answer, but obsolete (hence the downvote). See later posts in this thread. – James Hugard Jun 02 '09 at 00:35
0

You can find it in the ASP.NET Futures

Ana Betts
  • 73,868
  • 16
  • 141
  • 209
0

Managed JScript been really hard to find relative to IronPython or IronRuby. Pretty much the only place to find it is the ASP.Net futures. But that's two years old now and not supported. ECMAScript 5 is getting standardized right now and should be done some time in 2009. Maybe Microsoft is waiting until the new standard is out.

pnewhook
  • 4,048
  • 2
  • 31
  • 49