是否有包装器生成像gccxml C头分析器工具? [英] Is there a C header parser tool for wrapper generation like gccxml?

查看:189
本文介绍了是否有包装器生成像gccxml C头分析器工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要写一些C头封装为一个新的编程语言,并希望类似gccxml但没有对海湾合作委员会充分依赖,它给Windows系统上的问题。

I need to write a few c header wrappers for a new programming language and would like something like gccxml but without the full dependency on gcc and the problems it gives on a windows system.

只需要READ C不是C ++。任何格式的输出是好的,只要它是完全记录。

Just needs to read C not C++. Output in any format is okay as long it is fully documented.

需要它的卷曲,SQLite的,GTK2,SDL,OpenGL的,的Win32 API和C POSIX API Linux / Solaris上/ FreeBSD的/ MacOSX上的。

Need it for Curl, SQLite, GTK2, SDL, OpenGL, Win32 API and C posix API's on Linux/Solaris/FreeBSD/MacOSX.

推荐答案

VivaCore 是非常凉。您是否尝试过痛饮上的 FFI 有一些很好的联系了。我认为,做C也一个MSVC codeDOM的例子。

VivaCore is very cool. Have you tried SWIG the wikipedia page on ffi has some good links too. I think there is a MSVC codedom example that does C also.

这篇关于是否有包装器生成像gccxml C头分析器工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆