Yet another binding generator (WIP)

Jacob Carlborg doob at me.com
Tue Oct 2 19:04:06 UTC 2018


On 2018-10-02 03:25, evilrat wrote:

> To be honest I don't know. Also dstep is written in D and using only 
> 'stable' clang C API, right?

Yes.

> This tool is based on full 'unstable' C++ API, so in theory it is 
> possible to do broader range of features, such as template substitution 
> for wrapper generating (or just writting .cpp file for compiler to 
> generate actual code).

So far I haven't had the need for the C++ API. But DStep doesn't support 
generating bindings for C++ yet so...

> If you asking about actual C/C++ support I have no idea, also dstep is 
> probably can do Objective-C as well (but not this tool), and on average 
> at this moment dstep probably has better C support.

Yes, it can do Objective-C, but not C++ (yet).

> Recently there is also "dpp" showed up, it also seems to do same C API 
> approach as dstep, probably has little-to-none C++ support, might be 
> wrong though. Oh wait, no Windows? nice... But if you only ever do linux 
> stuff and C only then it probably even better choice.

DStep works on Windows these days (compiler from master).

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list