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 ?