4 ms·
> Using gcc's AST to do anything is an horrible nightmare, and you pretty much have to fork the whole gcc code base to do that anyway. GCC supports Plugins whi
by fafner 13y ago
> Using gcc's AST to do anything is an horrible nightmare, and you pretty much have to fork the whole gcc code base to do that anyway.
GCC supports Plugins which allow you to access all internal structures.
> Those things are not going to be easy to change because GCC wasn't designed to account those needs.
They are working towards modularization. It will certainly not be an easy task. But I hope they accomplish that.
- anon1385 13y ago>They are working towards modularization. It will certainly not be an easy task. But I hope they accomplish that. gcc-xml was already written and the gcc devs refused to merge it. Has that changed in the last year?
- belorn 13y agohttp://gccxml.github.io/HTML/News.html http://gccxml.github.io/HTML/News.html Looks quite dead to me, and I recall reading that the author do not recommend using it anymore.
- fafner 13y agoThere are still commits (latest ~1 month ago) https://github.com/gccxml/gccxml/commits/master https://github.com/gccxml/gccxml/commits/master
- fafner 13y agoWhen was that? 10 years ago?