On 2011-10-21 10:07, Marco Leise wrote:
Am 21.10.2011, 09:22 Uhr, schrieb Gor Gyolchanyan
<gor.f.gyolchan...@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 <d...@me.com> wrote:
On 2011-10-20 22:29, Marco Leise wrote:
Am 20.10.2011, 13:11 Uhr, schrieb Jacob Carlborg <d...@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.
--
/Jacob Carlborg