Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

IL to JavaScript Compiler

branch: master

Merge pull request #4 from liquidboy/master

current mscorlib is 12 so updating lmajor to 13 to pass the PE check
latest commit a4570f9c69
Matthew Podwysocki mattpodwysocki authored February 18, 2014
Octocat-spinner-32 CCI Initial Commit October 30, 2012
Octocat-spinner-32 CCI2 Initial Commit October 30, 2012
Octocat-spinner-32 CST Initial Commit October 30, 2012
Octocat-spinner-32 Compiler Initial Commit October 30, 2012
Octocat-spinner-32 Examples Initial Commit October 30, 2012
Octocat-spinner-32 Extras Initial Commit October 30, 2012
Octocat-spinner-32 Html Initial Commit October 30, 2012
Octocat-spinner-32 Install Initial Commit October 30, 2012
Octocat-spinner-32 JST Initial Commit October 30, 2012
Octocat-spinner-32 JSTypes Initial Commit October 30, 2012
Octocat-spinner-32 JSV Initial Commit October 30, 2012
Octocat-spinner-32 MSBuild Initial Commit October 30, 2012
Octocat-spinner-32 PE current mscorlib is 12 so updating lmajor to 13 to pass the PE check February 18, 2014
Octocat-spinner-32 Partners Initial Commit October 30, 2012
Octocat-spinner-32 Reactive Initial Commit October 30, 2012
Octocat-spinner-32 Rewriter Initial Commit October 30, 2012
Octocat-spinner-32 Rx Initial Commit October 30, 2012
Octocat-spinner-32 SilverlightInterop Initial Commit October 30, 2012
Octocat-spinner-32 StartPage Initial Commit October 30, 2012
Octocat-spinner-32 System.Core Initial Commit October 30, 2012
Octocat-spinner-32 System.CoreEx Initial Commit October 30, 2012
Octocat-spinner-32 System.Net Initial Commit October 30, 2012
Octocat-spinner-32 System.Windows Initial Commit October 30, 2012
Octocat-spinner-32 System Initial Commit October 30, 2012
Octocat-spinner-32 Templates Initial Commit October 30, 2012
Octocat-spinner-32 Tests Initial Commit October 30, 2012
Octocat-spinner-32 WSHInterop Initial Commit October 30, 2012
Octocat-spinner-32 Xml Initial Commit October 30, 2012
Octocat-spinner-32 mscorlib Initial Commit October 30, 2012
Octocat-spinner-32 utils Initial Commit October 30, 2012
Octocat-spinner-32 .gitattributes Initial Commit October 30, 2012
Octocat-spinner-32 .gitignore Initial Commit October 30, 2012
Octocat-spinner-32 HOW_TO_BUILD.txt Initial Commit October 30, 2012
Octocat-spinner-32 IL2JS_CompileTime.sln Initial Commit October 30, 2012
Octocat-spinner-32 IL2JS_RunTime.sln Initial Commit October 30, 2012
Octocat-spinner-32 IL2JS_RunTime_NoTest.sln Initial Commit October 30, 2012
Octocat-spinner-32 Start_il2js.html Initial Commit October 30, 2012
Octocat-spinner-32 TODO Initial Commit October 30, 2012
Octocat-spinner-32 build.ps1 Initial Commit October 30, 2012
Octocat-spinner-32 clean.ps1 Initial Commit October 30, 2012
Octocat-spinner-32 dumped.txt Initial Commit October 30, 2012
Octocat-spinner-32 profile.ps1 Initial Commit October 30, 2012
Octocat-spinner-32 readme.md Initial Commit October 30, 2012
Octocat-spinner-32 setup.ps1 Initial Commit October 30, 2012
Octocat-spinner-32 shell.bat Initial Commit October 30, 2012
Octocat-spinner-32 teardown.ps1 Initial Commit October 30, 2012
Octocat-spinner-32 test.ps1 Initial Commit October 30, 2012
readme.md

IL2JS - An Intermediate Language to JavaScript Compiler


Compile MSIL to JavaScript without changing program behavior and by extension compile any .Net language into JavaScript without changing program behaviour.

Compare with:

  • Script#: Type check and translate a C#-like language as JavaScript

  • Silverlight: Run MSIL in a CLR embedded within the browser

IL2JS supports all .NET 3.5 features except:

  • P/Invoke, native methods, unsafe code
  • Unsigned and 64-bit integers (always interpreted as doubles)
  • Variance on type parameters other than in IEnumerable

The key highlights are:

  • No change required to Visual Studio, source compilers, existing toolchain, existing managed debugger

  • No change to target browser or script host

  • No plugins

Getting Started

Check the HOW_TO_BUILD.txt file for instructions on how to build IL2JS.

LICENSE


Copyright 2011 Microsoft Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.