www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Anything like HPPTOD out there?

reply ParticlePeter <ParticlePeter gmx.de> writes:
I would like to auto convert c++ header to d module. Is there 
some project aiming for this?

I know of VisualD c++ to d conversion wizzard [1] and LLVM 
tooling based CPP2D [2], both of them aiming for whole cpp 
conversion. But I a searching for something lightweight like HTOD 
extended to C++.

[1] https://rainers.github.io/visuald/visuald/CppConversion.html
[2] https://github.com/lhamot/CPP2D
Nov 25 2019
parent Andrea Fontana <nospam example.com> writes:
On Monday, 25 November 2019 at 16:35:21 UTC, ParticlePeter wrote:
 I would like to auto convert c++ header to d module. Is there 
 some project aiming for this?

 I know of VisualD c++ to d conversion wizzard [1] and LLVM 
 tooling based CPP2D [2], both of them aiming for whole cpp 
 conversion. But I a searching for something lightweight like 
 HTOD extended to C++.

 [1] https://rainers.github.io/visuald/visuald/CppConversion.html
 [2] https://github.com/lhamot/CPP2D
Give DPP[1] a try! [1] https://github.com/atilaneves/dpp
Nov 25 2019