C++ parser

nazriel spam at dzfl.pl
Wed May 22 13:17:16 PDT 2013


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

I am afraid it doesn't build anymore with DMD git-head.
It isn't dstep itself but one of its dependencies.

I wanted to use it in order to create bindings for XCB but 
couldn't built it.
Also AFAIK SiegeLord went with flow to Rust, so probably Tango-D2 
dependency may start to be a problem soon.

Just my 5 cents.


More information about the Digitalmars-d mailing list