(Oh My) Gentool 0.3.0 released

evilrat evilrat666 at gmail.com
Wed May 5 06:50:29 UTC 2021


(Oh My) Gentool - Yet another C/C++ binding generator.

It is a tool to convert C/C++ code to D usable form. It takes 
JSON config, basically all C++ compiler flags and switches, and 
outputs extern(C++) declarations, (hopefully) in usable form D!

It can already process (dear) imgui library (immediate mode GUI 
popular in game development and various graphics related tools 
and demos) without manual fixes!

It can process recastnavigation (navmesh generation and 
pathfinding library) with just a few manual edits.

Please note that it is still in its early stage and may contain 
bugs and missing language features, as well as lack of conversion 
for certain language constructs.

It is still hard to use it directly in the build process on a 
real libraries due to many syntax and semantics issues, however 
it is already a valuable tool for making thin wrappers on C++ 
side to quickly bring them to your D code, given that your 
wrapper headers does not contains complex bodies or templates, or 
direct inclusions of other libraries headers such as Boost(ok, no 
STL too).

That's it, even if it produces incomplete translation this could 
reduce bindings making process from hours down to minutes! Who 
wants to spent 10 hours manually making bindings for entire PhysX 
when it can be reduced to just 30 minutes? Absolutely no one! 
Grab one today and stay ahead of your competitors with regular 
updates!


How to start
https://github.com/Superbelko/ohmygentool/wiki/QuickStart

Source
https://github.com/Superbelko/ohmygentool

Windows build
https://github.com/Superbelko/ohmygentool/releases/tag/v0.3.0


More information about the Digitalmars-d-announce mailing list