This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C/C++ codes searching/browsing
- To: Habib Khalfallah <hkhalfallah at yahoo dot ca>
- Subject: Re: C/C++ codes searching/browsing
- From: Bruce Stephens <bruce at cenderis dot demon dot co dot uk>
- Date: 21 Jul 2000 00:00:58 +0100
- Cc: gcc at gcc dot gnu dot org
- References: <20000720031318.2404.qmail@web1606.mail.yahoo.com>
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.