November 26, 2005
John C wrote:
> At least a couple of people were interested in using .NET from D. The attached example shows one way of doing it, without hosting the CLR.
> 
> Here's a taster:
> 
>     _ArrayList arrayList = ArrayList.createObject!(_ArrayList);
>     ICollection collection = com_cast!(ICollection)(arrayList);
>     int index;
>     collection.add(VARIANT(12345), index);
> 
>     VARIANT v;
>     collection.get_Item(index, v);
>     writefln(v.lVal);
> 
> Note that the attached files include only the bare minimum to get the example to run. I've not defined all the CLR types and some are merely placeholders. I've only tested this with .NET 2.0 (but it should work with 1.0/1.1).
> 
> Enjoy. 
> 
> 

I'm curious. I'm not a huge fan of .NET technology (or Microsoft in general), but I do see it's usefulness in some applications.  For example, if having access to .NET allows me to program with D on mobile devices with the .NET compact framework installed, then I'm all for it.  I'd love to have easy access to programming my Windows Mobile 5.0 device, especially in D.

So is this an option? Will this allow me to develop on my mobile device at some point?

-JJR
November 26, 2005
In article <ob9ho1hm8snvtl520anft0ei7p39bnkcvn@4ax.com>, Chris says...
>
>On Sat, 26 Nov 2005 11:03:07 +0100, Manfred Hansen <manfred@toppoint.de> wrote:
>
>>Hello,
>>
>>i found this link
>>https://mywebspace.wisc.edu/daaugustine/web/d/
>>from Deja Augustine
>>
>>Manfed
>
>Nice find! I don't want to get the old framework just to decompile that. I was able to look at the class structure in it though and it looks like he took the D frontend and changed for his compiler.
>
>Chris

Right. My understanding is that his compiler code was based on Walter's fontend.

jcc7
November 26, 2005
On Sat, 26 Nov 2005 10:35:26 -0000, "John C" <johnch_atms@hotmail.com> wrote:
>
>It would seem there are several people in this group doing the same thing - would it not make sense to join forces to get a fully functional D.NET compiler out the door?
>

Who else is currently working on one? I recall one or two who said they would help if there was an open source project, but I don't remember anyone saying they were already working on one (except Deja Augustine over a year ago. his compiler wasn't open source anyway).

Mine will be open source, perhaps on sourceforge (I believe dsource is for D projects only). If anyone knows where I should host it I'm open to suggestions. I prefer to use svn instead of cvs.

Chris
November 26, 2005
"John Reimer" <terminal.node@gmail.com> wrote in message news:dmaa02$2pdg$1@digitaldaemon.com...
>
> I'm curious. I'm not a huge fan of .NET technology (or Microsoft in general), but I do see it's usefulness in some applications.  For example, if having access to .NET allows me to program with D on mobile devices with the .NET compact framework installed, then I'm all for it. I'd love to have easy access to programming my Windows Mobile 5.0 device, especially in D.
>
> So is this an option? Will this allow me to develop on my mobile device at some point?

Only if D outputs executables that are compatible with Windows Mobile - that is, if Win32 PEs run on the Mobile platform, which if I recall they don't.


November 26, 2005
John C wrote:
> "John Reimer" <terminal.node@gmail.com> wrote in message news:dmaa02$2pdg$1@digitaldaemon.com...
> 
>>I'm curious. I'm not a huge fan of .NET technology (or Microsoft in general), but I do see it's usefulness in some applications.  For example, if having access to .NET allows me to program with D on mobile devices with the .NET compact framework installed, then I'm all for it. I'd love to have easy access to programming my Windows Mobile 5.0 device, especially in D.
>>
>>So is this an option? Will this allow me to develop on my mobile device at some point?
> 
> 
> Only if D outputs executables that are compatible with Windows Mobile - that is, if Win32 PEs run on the Mobile platform, which if I recall they don't. 
> 
> 

I was under the impression that if you made a D .NET compiler, it would compile to the VM and, thus, run on any .NET based device, much like Java and its VM.

This isn't so?

-JJR
November 26, 2005
Chris wrote:
> On Sat, 26 Nov 2005 10:35:26 -0000, "John C" <johnch_atms@hotmail.com>
> wrote:
> 
>>It would seem there are several people in this group doing the same thing - would it not make sense to join forces to get a fully functional D.NET compiler out the door? 
>>
> 
> 
> Who else is currently working on one? I recall one or two who said
> they would help if there was an open source project, but I don't
> remember anyone saying they were already working on one (except Deja
> Augustine over a year ago. his compiler wasn't open source anyway). 
> 
> Mine will be open source, perhaps on sourceforge (I believe dsource is
> for D projects only). If anyone knows where I should host it I'm open
> to suggestions. I prefer to use svn instead of cvs. 
> 
> Chris


Talk to Brad at dsource.org.  I'm fairly certain he hosts any project that pertains to D, even if it isn't programmed in the D language itself.

Example projects on dsource.org that are in other languages:

eclipseD -- Java; plugin for Eclipse IDE
H2D      -- C++; C header to D module conversion tool
DManager -- Delphi; D Project Manager

And there are others.

-JJR
November 26, 2005
Chris wrote:
> On Sat, 26 Nov 2005 10:35:26 -0000, "John C" <johnch_atms@hotmail.com>
> wrote:
> 
>>It would seem there are several people in this group doing the same thing - would it not make sense to join forces to get a fully functional D.NET compiler out the door? 
>>
> 
> 
> Who else is currently working on one? I recall one or two who said
> they would help if there was an open source project, but I don't
> remember anyone saying they were already working on one (except Deja
> Augustine over a year ago. his compiler wasn't open source anyway). 
> 

Well I started reading Build Your Own .NET Language and Compiler and
Inside Microsoft .NET IL Assembler for a purpose of playing with the idea of writing a D.NET compiler but lack free time for this. But would be more than glad to help any way I can.

> Mine will be open source, 

great

> perhaps on sourceforge (I believe dsource is
> for D projects only). 

I think it could be on dsource because it is very D-related.

> If anyone knows where I should host it I'm open
> to suggestions. I prefer to use svn instead of cvs. 

svn is IMO a better choise.
November 26, 2005
"John Reimer" <terminal.node@gmail.com> wrote in message news:dmand7$u49$1@digitaldaemon.com...
> John C wrote:
>> "John Reimer" <terminal.node@gmail.com> wrote in message news:dmaa02$2pdg$1@digitaldaemon.com...
>>
>>>I'm curious. I'm not a huge fan of .NET technology (or Microsoft in general), but I do see it's usefulness in some applications.  For example, if having access to .NET allows me to program with D on mobile devices with the .NET compact framework installed, then I'm all for it. I'd love to have easy access to programming my Windows Mobile 5.0 device, especially in D.
>>>
>>>So is this an option? Will this allow me to develop on my mobile device at some point?
>>
>>
>> Only if D outputs executables that are compatible with Windows Mobile - that is, if Win32 PEs run on the Mobile platform, which if I recall they don't.
>
> I was under the impression that if you made a D .NET compiler, it would compile to the VM and, thus, run on any .NET based device, much like Java and its VM.
>
> This isn't so?

Yes, I believe so, but we're talking about two different but related things on this thread, and they appear to have become somewhat muddied. One is using the .NET framework from native D. The other is (the reverse) a .NET compiler for D.

Your question was in response to my example using .NET from D natively, which determined my answer.

>
> -JJR


November 26, 2005
John C wrote:
> "John Reimer" <terminal.node@gmail.com> wrote in message news:dmand7$u49$1@digitaldaemon.com...
> 
>>John C wrote:
>>
>>>"John Reimer" <terminal.node@gmail.com> wrote in message news:dmaa02$2pdg$1@digitaldaemon.com...
>>>
>>>
>>>>I'm curious. I'm not a huge fan of .NET technology (or Microsoft in general), but I do see it's usefulness in some applications.  For example, if having access to .NET allows me to program with D on mobile devices with the .NET compact framework installed, then I'm all for it. I'd love to have easy access to programming my Windows Mobile 5.0 device, especially in D.
>>>>
>>>>So is this an option? Will this allow me to develop on my mobile device at some point?
>>>
>>>
>>>Only if D outputs executables that are compatible with Windows Mobile - that is, if Win32 PEs run on the Mobile platform, which if I recall they don't.
>>
>>I was under the impression that if you made a D .NET compiler, it would compile to the VM and, thus, run on any .NET based device, much like Java and its VM.
>>
>>This isn't so?
> 
> 
> Yes, I believe so, but we're talking about two different but related things on this thread, and they appear to have become somewhat muddied. One is using the .NET framework from native D. The other is (the reverse) a .NET compiler for D.
> 
> Your question was in response to my example using .NET from D natively, which determined my answer.
> 
> 
>>-JJR 
> 
> 
> 

Oops! My apologies.  I didn't notice.

-JJR
November 27, 2005
In article <d1mho11g54e2iv8i2fovn5rb1as7eoel6s@4ax.com>, Chris says...
>
>On Sat, 26 Nov 2005 10:35:26 -0000, "John C" <johnch_atms@hotmail.com> wrote:
>>
>>It would seem there are several people in this group doing the same thing - would it not make sense to join forces to get a fully functional D.NET compiler out the door?
>>
>
>Who else is currently working on one? I recall one or two who said they would help if there was an open source project, but I don't remember anyone saying they were already working on one (except Deja Augustine over a year ago. his compiler wasn't open source anyway).
>
>Mine will be open source, perhaps on sourceforge (I believe dsource is for D projects only). If anyone knows where I should host it I'm open to suggestions. I prefer to use svn instead of cvs.
>
>Chris

I think to be eligible for dsource a project needs to be open source and either using D or related to D. It sounds like your project would be closely related to D (create a language similar to D that uses .NET, right?). It might even be based on the DMD's front-end code.

By the way, the idea of a D.NET has already been discussed in a dsource topic: http://www.dsource.org/forums/viewtopic.php?t=140

(It was more a conceptual discussion than an actual request to start a project.)

jcc7