atilaneves / dpp

Directly include C headers in D source code
Boost Software License 1.0
230 stars 31 forks source link

Programmatically add UFCS functions to replicate eg methods and other functions that take vector arguments but with D types instead #128

Open Laeeth opened 5 years ago

Laeeth commented 5 years ago

So they just make a vector, map, string etc from the D side argument, call the cpp, and translate the return if needed.

Tired - I meant ufcs

atilaneves commented 5 years ago

If I'm getting this right, then it would be a translation layer similar to excel-d and autowrap:python?

Laeeth commented 5 years ago

Yes I guess so although it should be much less work if you don't care about perfection provided it's correct.