Next C compiler is a D compiler: Introducing DMD's ImportC
briancallahan.net
Next C compiler is a D compiler: Introducing DMD's ImportC
1–10 of 89 posts
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#2This article is about using the D compiler's ability to import vanilla C code to compile entire C projects.
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#3This article is about using the D compiler's ability to import vanilla C code to compile entire C projects.
This might actually make my life a lot easier compared to how I am currently doing certain things with some of my libraries that need to interoperate with C.
Going to give ImportC a spin there!
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#4That's impressive, i thought the preprocessor wasn't planned, looks like it takes care of it too, i guess it's time to revisit D, C but better
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#5No post body was provided.
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#6That's impressive, i thought the preprocessor wasn't planned, looks like it takes care of it too, i guess it's time to revisit D, C but better
Preprocessing is now fully supported!
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#7There is a question about C23 if you can see [dead] people:
1. We can support it, I suspect no headers will go near it for a while but we can.
2. C23 support actually brings some C semantics closer to D ones anyway...
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#8> Error: C designator-list not supported yet
I guess only a subset of C11 is supported? Is there all of C89?
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#9This is just like Zig's C compiler
Re: Next C compiler is a D compiler: Introducing DMD's ImportC
#10> Error: C designator-list not supported yet I guess only a subset of C11 is supported? Is there all of C89?
Designator-list support has since been added. The multi-layer designators are still to be done, though (they're rarely used, so are a lower priority).