This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Turning cc1plus into a shared library


Hi all,

I'm interested in turning cc1plus into a shared library with an API on top so that it's possible to:

-Programmatically parse & compile a C++ file
-Parse a file, traverse the internal tree representation and get any C++ information that you are looking for
-Parse, make changes to the internal tree, continue with the backend processing (so you can, for example, programmatically add security checks to all/some functions)


The API should be easy to use not only from C but from other languages that can use C libraries.


Is there something similar that is already being developed ? Any thoughts on the above ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]