On Wednesday, 22 May 2013 at 08:10:31 UTC, Jacob Carlborg wrote:
On 2013-05-22 10:05, IgorStepanov wrote:
Is there someone free C++ parser? I want to create simple util to converting C++ headers to D like htod, but I want, if it possible, to
dont write C++ parser. Any ideas?

There's libclang. I already have a tool that handles C and Objective-C files. Pull request are welcome :)

https://github.com/jacob-carlborg/dstep

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. First goal is a parse and syntax analyse of this header. Do libclang provide me this functional?

Reply via email to