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]

Re: C/C++ codes searching/browsing


Habib Khalfallah <hkhalfallah@yahoo.ca> writes:

> I would like to enquire if any development of a C/C++ code
> indexing/browsing facility has been or is in the process of being
> done. This facility would use the front end of the gcc compiler to
> generate an index of the source that facilitates searches of the
> source base.

cxref uses a modified gcc front-end, I think---the C parser, anyway.

There was brief discussion a week or so ago on this mailing list about
adding something like this to support SWIG.  It was suggested that it
probably wouldn't be too hard to do and to maintain, and some of the
code could be shared across front-ends.  I've no idea whether anyone's
working on it.

A couple of non-gcc solutions are SDS
(<URL:http://sds.sourceforge.net/>) which uses an OpenC++-based
parser, and Source Navigator
(<URL:http://sources.redhat.com/sourcenav/>, if memory serves) which
has its own parser.

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