No D-C++, right?

2012-07-13 Thread Nick Sabalausky
Am I correct in my understanding that we still don't have a reliable tool to translate a D source to C or C++? Can LDC/GDC do anything like that? (Doesn't LLVM have a C-outputting backend?)

Re: No D-C++, right?

2012-07-13 Thread Kevin Cox
On Jul 13, 2012 3:45 PM, Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: Am I correct in my understanding that we still don't have a reliable tool to translate a D source to C or C++? Can LDC/GDC do anything like that? (Doesn't LLVM have a C-outputting backend?) Yes LLVM does. I

Re: No D-C++, right?

2012-07-13 Thread Nick Sabalausky
On Fri, 13 Jul 2012 15:46:35 -0400 Kevin Cox kevincox...@gmail.com wrote: On Jul 13, 2012 3:45 PM, Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: Am I correct in my understanding that we still don't have a reliable tool to translate a D source to C or C++? Can LDC/GDC do

Re: No D-C++, right?

2012-07-13 Thread Alex Rønne Petersen
On 13-07-2012 21:46, Kevin Cox wrote: On Jul 13, 2012 3:45 PM, Nick Sabalausky seewebsitetocontac...@semitwist.com mailto:seewebsitetocontac...@semitwist.com wrote: Am I correct in my understanding that we still don't have a reliable tool to translate a D source to C or C++? Can LDC/GDC

Re: No D-C++, right?

2012-07-13 Thread Daniel Murphy
Alex Rønne Petersen a...@lycus.org wrote in message news:jtq05i$26hh$1...@digitalmars.com... On 13-07-2012 21:46, Kevin Cox wrote: Anyway, translating a D AST to C should be relatively trivial. Maybe you can base it on this: https://github.com/adamdruppe/dmd/tree/dtojs Or base it off the