LADSoft MSIL Compiler

The LADSoft MSIL compiler is a variant of Orange C which compiles many C programs to MSIL/.net. It can create either a DLL or an EXE file. It is also possible compile to ILASM source code to see the compiler output.

This compiler will take a list of unmanaged DLLs, and create PINVOKE statements when calls to them are made. However, all such calls must be prototyped, and in general this code will give an error if an unprototyped function is used.

This compiler is capable of compiling either a single source file, or accepting multiple source files and generating a composite EXE or DLL from them. Two of the larger programs that have been successfully compiled are a modified version of the CC386 compiler and sqlite3 in both DLL and EXE format.

This compiler does not fully support the C language at this time and does not support C++ at all.

An interesting part of this project is the development of an independent C++ library which abstracts the creation of .net assemblies... it is possible to write a few lines of code and have the library generate a complete .net DLL or EXE.

The install below includes the compiler, run time libraries, header files, and many example programs that have been successfully compiled with the compiler. It also includes source code for the C++ library for creation of .net assemblies.

This compiler is released on March 11, 2017 at version 6.12.1

ProductMD5 ChecksumSize
Win32 setup package (WIN32 installer) 30078367502d6e6e513fb11d1bf5f005 5MB
Executables in zip file format baf0211fe870c351e3f6017651f6b89a 6MB