C++ parser

1100110 0b1100110 at gmail.com
Wed May 22 13:33:39 PDT 2013


On 05/22/2013 03:17 PM, nazriel wrote:
> 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.


Yeah, I was afraid of that...

So, Now the next easiest thing is probably SWIG.

> 
> 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.

Well, I don't think he'll have it any easier there...  I've tried
Binding rust, I sucked worse than binding D.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130522/2dc8c5cd/attachment.pgp>


More information about the Digitalmars-d mailing list