I found many excellent examples on binding Crystal with C code. However I could not find a single example on how to do the same with C++; i.e. binding to Classes/Objects …etc from C++ code-base or library.
Having some C++ library code exposing a number of classes I wanted to see the direct approach of binding with crystal.
I’m aware of bindgen being an attempt to “parse” the c++ code and produce generated wrapper code in crystal; but I would like to stay away from that type of boiler plate code and have a simple hand-written binding in the same way we do it with C.
Did you have any luck with that?