C++ parser

Jacob Carlborg doob at me.com
Wed May 22 11:31:32 PDT 2013


On 2013-05-22 16:55, IgorStepanov wrote:

> Seems pretty. What I need to do first to start work over C++ to D
> handle? As I think, I'll need to generate to one C++ header one .cpp
> glue file (with some hacking over header) and one .di file.

I'm not sure on how to best bind C++ code to D. D can handle some parts 
of the C++ ABI, like classes and virtual functions. dlang.org contains 
some information:

http://dlang.org/cpp_interface.html

> First goal
> is a parse and syntax analyse of this header. Do libclang provide me
> this functional?


-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list