C++ parser

Dicebot m.strashun at gmail.com
Wed May 22 01:10:59 PDT 2013


On Wednesday, 22 May 2013 at 08:05:06 UTC, 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?

Using libclang is probably most convenient and robust approach 
nowadays. You can look at Jacob's DStep for inspiration : 
https://github.com/jacob-carlborg/dstep

Actually, I would even recommend to work in improving dstep 
instead of wasting efforts on new tool as it does exactly what 
you want :)


More information about the Digitalmars-d mailing list