C++ Header Parser

Hello,

I'm a student from Moscow Power Engineering Institute and I now I'm interested in learning about FFI techniques.  Now I'm actively using JNR for my projects, but it takes really long time to map header data to Java. I thought that it would be great to parse C headers to generate stub files automatically. 

Ofcource, I don't want to do extra work and I tried to search for a library that gets structured data from header files. I found a python library CppHeaderParser, that does the thing. But then I thought about the usage of my project and I think, that it would be way better if it will depend only on Java environment.

So I would like to build my project on IntelliJ platform as plugin. Is it possible to use CLion data model as a source for my code generator?

 

Regards,

Andrew Yefanov.

0

请先登录再写评论。