cpp_binder, a not-yet-useful tool for generating C++ bindings

Paul O'Neil via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Sep 21 17:00:44 PDT 2015


How come it crashes a lot ?
> Glancing quickly at the source, it looks like it is using clang as a
> source of C++ truth.

It's crashing a lot because I make some incorrect assumptions about
what's in the AST and not everything is handled.  Getting templates
right is hard, and cpp_binder doesn't do it right.  Usually this
manifests as an assertion failure or dereferencing a null pointer.

-- 
Paul O'Neil
Github / IRC: todayman


More information about the Digitalmars-d-announce mailing list