Automatic binding generation

Jacob Carlborg doob at me.com
Sat Jan 7 06:05:56 PST 2012


On 2012-01-07 10:31, Trass3r wrote:
> On Friday, 6 January 2012 at 23:48:31 UTC, Jacob Carlborg wrote:
>> On 2012-01-06 21:51, Trass3r wrote:
>>> The only proper solution is using something like clang to write a C++->D
>>> converter.
>>> First only headers, later source code.
>>
>> I'm working on that, slowly.
>
> btw, I wonder if it's all that good to do that as a clang fork.
> You will merge upstream from time to time and their countless commits
> will clutter the history, so it becomes hard to find out what really
> belongs to your tool.
> Also it shouldn't be a modified clang executable with a new -rewrite
> option anyway. One doesn't want nor need a full compiler. no codegen, no
> countless cmdline options (just some like -I etc.).

I'm rewriting it using the Clang C bindings, using Clang as a library. 
I'm just hoping I will be able to do all the things I need to do with 
the C bindings.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list