D compiler for .NET

Tim Matthews tim.matthews7 at gmail.com
Thu Jun 11 19:28:50 PDT 2009


Jason House wrote:
> Earlier today, I tried to use the D compiler for .NET from 
> http://dnet.codeplex.com/
> 
> Beyond compilation of the compiler, I found zero instructions on what to do 
> next.  How do I integrate the compiler into the .NET framework/visual 
> studio?  I'd like to be able to add D files to existing solutions (with C# 
> code).  If I can do that, I'll probably push for some small adoption of D at 
> work.  (I'm hoping mixins and templates will inspire the initial use of D)
> 
> Any tips or documentation on how to get started would be appreciated.
> 

It works from the command line like dmd but with ms vs tools like ilasm 
in your path too. Visual studio could probably make use of it but is 
there any D VS plugin projects that are not dead?

It uses D import files to call existing clr code but it only has a few 
things in the import files. It is possible to add stuff to the import 
files but the plan is to generate the imports automatically. It is 
pretty much very experimental at the moment and could do with the extra 
man power to get it going. Dmd front end in source control with proper 
documentation as you asked in D newsgroup would help a lot.

The import generator is mostly working but the generated imports are not 
parseable. http://d.puremagic.com/issues/show_bug.cgi?id=3061


More information about the Digitalmars-d-learn mailing list