ccglue (ctags-cscope glue)


Project summary page
Download ccglue files

ccglue is intended to be the interfacing app between cscope and ctags. It
can generate cross-reference tag files that can be interfaced with the Vim
CCTree plugin (http://www.vim.org/scripts/script.php?script_id=2368).

Currently supported languages: C
More features and language support to follow.

Notes:

Cscope and ctags are semantic analysis tools that excel in specific areas,
i.e., ctags has excellent tag support for a huge number of languages, while
cscope's flex scanner provides excellent semantic analysis.  However, what is
left lacking is usually context for the semantic analysis. Context allows you
to generate more data that can be used for more purposes, i.e., case in hand
call-graph, code completion, and error detection. This tool attempts to analyze
the cscope generated data using additional context from ctags data.

Why the "glue" in the name?

Most glue (aka adhesive) applications directions go this way: "Sand surfaces, apply minimal amounts".
The approach here would be similar to ctags and cscope; the idea is not to re-invent the wheel but to
build a tool that presents a minimum interface between the existing tools and leverages it to
provide additional data that can be used for building more sophisticated tools.


You can find the respective tools here:
cscope -- cscope.sourceforge.net
ctags -- ctags.sourceforge.net


BUILDING and INSTALLING

The package with configured with auto-tools.  The typical installation process
should work on most systems. Requires a reasonably up-to-date version of GLib.

    ./configure
    make
    make install

Options to the configure script are up to you.  For details, run:

    ./configure --help
(There is none now though)


How to use?


Command line:
$ ccglue -S cscope1.out,cscope2.out,...cscopeN.out -o cctree.out

In Vim:
:CCTreeLoadXRefDBFromDisk cctree.out


Project maintainer: (hariranga)DONTSPAMME($$sourceforge.users.net$$)