Community input for a new C binding generator project

Jacob Carlborg doob at me.com
Thu Apr 3 05:51:10 PDT 2014


On 03/04/14 01:16, Rikki Cattermole wrote:

> Interestingly I was having a play recently with a CTFE'd macro
> preprocessor in the hope that I could push it through a c lexer and
> create via template mixins the entire bindings to files.
> Few limitations like string imports not recursive on Windows (one day I
> might look into that).
> But netherless a lot of work, and fun!

I modified DMD and added a pragma which would call DStep to create 
bindings on the fly. It worked, but most people here seemed to prefer to 
have it as a separate tool.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list