Development environment (WAS: generative programming and debugging)

Marco Leise Marco.Leise at gmx.de
Fri Oct 21 11:56:59 PDT 2011


Am 21.10.2011, 13:50 Uhr, schrieb Jacob Carlborg <doob at me.com>:

> On 2011-10-21 10:07, Marco Leise wrote:
>> Am 21.10.2011, 09:22 Uhr, schrieb Gor Gyolchanyan
>> <gor.f.gyolchanyan at gmail.com>:
>>
>>> I wouldn't call it D. It looks like C, which smells like D. But the
>>> point is good. It's possible to make a C facade to use a C back-end.
>>>
>>> On Fri, Oct 21, 2011 at 10:34 AM, Jacob Carlborg <doob at me.com> wrote:
>>>> On 2011-10-20 22:29, Marco Leise wrote:
>>>>>
>>>>> Am 20.10.2011, 13:11 Uhr, schrieb Jacob Carlborg <doob at me.com>:
>>>>>
>>>>>> On 2011-10-20 11:38, Gor Gyolchanyan wrote:
>>>>>>>
>>>>>>> Not a compiler (we have 3), only a front-end. Preferably in D  
>>>>>>> itself
>>>>>>> and preferably as modular as possible (e.g. not everyone needs the
>>>>>>> semantic parser).
>>>>>>> Provided a good D front-end in D it'll be very easy to make a great
>>>>>>> IDE, even if it's GUI is bad.
>>>>>>
>>>>>> Preferably, at least one of, these compilers should use the front  
>>>>>> end
>>>>>> as well.
>>>>>
>>>>> I don't see that happening: A D front end and a C++ backend. Perhaps
>>>>> GCC
>>>>> becomes the stadard D compiler and DMD is translated to D using that  
>>>>> ;)
>>>>
>>>> It is possible, have a look at DDMD:
>>>> http://www.dsource.org/projects/ddmd
>>>>
>>>> --
>>>> /Jacob Carlborg
>>
>> I said "D frontend" and "C++ backend", not "D backend". And "one of
>> these [3] compilers" clearly referred to the C++ ones DMD, LDC and GDC.
>> But the point is, that a frontend exists, that compiles as D code and
>> can be the base for a library. Either for continued development on DDMD
>> or an IDE or other tools that need to understand D code, like a online
>> source code browser.
>
> DDMD uses the C++ DMD backend.

Oh ok, when I clicked on "backend" I saw a long list of *.d files. I  
didn't know the compatibility between D and C++ was that good :)


More information about the Digitalmars-d mailing list