Jonathan B. Coe
Jonathan B. Coe
A clang daemon process will be added in llvm 5. It's in early development but FFIG should support it in time. I think it is possible to query clangd with...
See http://doc.pypy.org/en/latest/cppyy.html
Boost python can produce bindings for C++ code. Performance comparisons would be useful. http://www.boost.org/doc/libs/1_64_0/libs/python/doc/html/index.html also see https://pybind11.readthedocs.io/en/latest/ for a lightweight alternative to boost::python.
https://github.com/google/clif is similar to FFIG. It would be useful to compare differences and similarities and add notes to the README. Issues can be added for features that FFIG is missing.
I have no strong reason to think it will be better but cffi https://cffi.readthedocs.io/en/latest/overview.html could be used to create Python bindings. Maybe this would be interesting as proof-of-concept.
Tests should be organised and named to be clear about what language features they test. * Shape.h tests inheritance and exceptions. * Tree.h tests nullable subobject support. More integration style...
Currently any class that inherits from a C_API class is exposed. I don't like the implicit nature of this and it makes the FFIG.py script needlessly complicated. We should not...