including C headers

tim tim at srtnwz.com
Thu Mar 15 21:27:17 UTC 2018


On Thursday, 15 March 2018 at 14:39:16 UTC, kinke wrote:
> On Thursday, 15 March 2018 at 13:49:28 UTC, tim wrote:
>> what prevents LDC from accepting a new import statement to 
>> directly import C headers without the need to convert them to 
>> D first?
>>
>> given the progress in -betterC it greatly simplify gradual D 
>> rewrites of C software into D.
>
> See https://github.com/Syniurge/Calypso for an LDC fork aiming 
> at providing this functionality (not just C headers, C++ ones 
> to).

sorry i forgot to mention calypso, i was aware of it. but from 
what i understand it aims to provide c++ interop which is 
probably much harder.
the question was aiming at the question how complex C only 
support is and if its not a low hanging fruit.




More information about the digitalmars-d-ldc mailing list