Automated source translation of C++ to D

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 6 03:02:30 PDT 2014


Am Thu, 21 Aug 2014 17:57:11 +0000
schrieb "Joakim" <dlang at joakim.airpost.net>:

> On Thursday, 21 August 2014 at 10:00:43 UTC, Daniel Murphy wrote:
> >
> > You might want to look at DDMD, which is automatically 
> > converted.
> 
> Yes, I'm aware of ddmd.  You've mentioned many times that it only 
> works because dmd is written using a very unC++-like style, to 
> the point where github's source analyzer claims that dmd is 
> written in 66.7% C, 28.4% D (presumably the tests right now), 
> 4.4% C++, and 0.5% other. :)

OT: That's because the "analyzer" analyzes the file name part
after the last "." and dmd uses an atypical extension for C++.

-- 
Marco



More information about the Digitalmars-d mailing list