views:

237

answers:

2

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.

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

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

+1  A: 

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.

RandomNickName42
A: 

See the SD C Front End for DMS. Full C parsing, symbol table construction, post parsing dump of any information you like.

Ira Baxter