dpp
dpp copied to clipboard
Directly include C headers in D source code
Dpp should represent the padding as a private ubyte[n] padding3__ and the padding should not be part of the type blob itself.
Recursive for white list means pull in all things it depends on Blacklisting overrides whitelisting and aborts the recursive process at that level. Blacklist means it's just a blob
e.g. translated as ```d bool opBinary(string op: "!=")(bool f)(ref const(iter!(f)) arg0) ```
(it's implemented in a first version on my branch)
Dpp gives just a few error, related to std library apparently. It seems that operator""s issue is still there ( related: https://github.com/atilaneves/dpp/issues/101 ) ``` Untranslatable cursor Cursor(ClassTemplatePartialSpecialization, "numeric_limits", Type(Unexposed, "numeric_limits"))...
So they just make a vector, map, string etc from the D side argument, call the cpp, and translate the return if needed. Tired - I meant ufcs
A D mixin can access all template instantiations in module scope for C++. So as with Excel-d we can have a pre final build stage where your program writes out...
Array, vector, map, string, sharedptr. Anything else? I did preliminary work but it's pretty rough. And we are missing map (ilya has done in Xenon), array and sharedptr.