Proof of concept: automatically import C header files

Walter Bright newshound2 at digitalmars.com
Wed Jul 17 01:14:20 PDT 2013


On 7/16/2013 10:04 PM, deadalnix wrote:
> On Wednesday, 17 July 2013 at 04:14:56 UTC, Walter Bright wrote:
>> On 7/16/2013 8:49 PM, Timothee Cour wrote:
>>> So how about a library solution instead, which doesn't require compiler change:
>>
>> While semantically a great idea, technically I don't think CTFE is up to
>> implementing a C front end yet.
>
> This is the right path. We don't need the full front end, do we ?

Yeah, you do need the full front end. It's pretty amazing how the simplest of .h 
files seem determined to exercise every last, dark corner of the language.

If the converter doesn't accept the full language, you're just going to get a 
dump truck unloading on it.


More information about the Digitalmars-d mailing list