
Stefan Seefeld wrote:
Sebastian Redl wrote:
I think the most promising idea would be to combine an existing special representation (e.g. that of Synopsis) with a custom gcc frontend and embed the gcc backend into a library. Intercept the output. A custom linker that is able to link with a running application would probably be needed.
I second what David said: just use the system compiler / linker to produce a DSO and load that into your process. Anything else is going to be much more complex. And, I don't see why you would need Synopsis *and* a custom gcc frontend (such as gccxml).
What does Synopsis have that Reflex does not as far as C++ reflection is concerned ? What reflection problem are you trying to solve with whatever Synopsis can do ?