I have been 开发者_C百科searching Google for some kind of API that II could compile a C program but have been pulling up blanks... Any ideas? I could write my own but would rather use an API if possible.
Have a look at this recent presentation on libclang then jump on the clang/lvm mailing lists and see if you can help out.
http://llvm.org/devmtg/2010-11/Gregor-libclang.pdf
精彩评论