The CAPI Manifesto

Piotr Szturmaj bncrbme at jadamspam.pl
Fri Oct 21 05:29:12 PDT 2011


Walter Bright wrote:
> On 10/17/2011 5:56 PM, so wrote:
>> On Tue, 18 Oct 2011 03:52:13 +0300, Nick Sabalausky <a at a.a> wrote:
>>
>>> Thats would mean that every D compiler would have to *also* be a C
>>> compiler.
>>
>> Indeed, but i see nothing wrong with it, like i see nothing wrong with
>> inline
>> asm, C never changes,
>
> While C code can be directly translated to D, the C macros are another
> matter.

One way is to use "probably number one C/C++ preprocessor now available 
in the world.": http://mcpp.sourceforge.net/

It's portable, BSD licensed and implements all of C90, C99 and C++98 
specifications.


More information about the Digitalmars-d mailing list