Software:GNU GLOBAL

From HandWiki
Revision as of 18:37, 27 June 2023 by Jworkorg (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GNU GLOBAL
Gnu-global-logo.png
Gnu-global-htags.png
Source code for the Linux kernel 2.6.18 annotated by GNU GLOBAL
Developer(s)GNU project
Operating systemUNIX-like
TypeProgramming tool (Specifically: Code navigation tool)
LicenseGNU GPL
Websitewww.gnu.org/software/global/

GNU GLOBAL is a software tool for source code tagging to aid code comprehension. It works in a uniform fashion in various environments (GNU Emacs, Vim, GNU less, GNU Bash, web browsers, etc.), allowing users to find all objects declared in the source files and to move among them easily. It is particularly useful for working on projects containing numerous sub-projects and complex syntax trees generated by the compilation process (e.g., C code containing numerous #ifdef directive which select among several main() functions using conditional compilation). It is similar to older tagging software such as ctags and etags, but differs in its independence from any specific text editor.

GNU GLOBAL is free software maintained for the GNU project by Shigio Yamaguchi.

Use cases

Use cases are varied, and include traversing the source code of the Linux kernel,[1] browsing Ruby code after having analyzed it with Exuberant ctags or rtags,[2] examining the structure of software packages in HTML mode,[3] or exploring a large and unfamiliar codebase.[4]

Usage by other software

GLOBAL is used by other software, including GNU Automake. FreeBSD uses it in its build system.

See also

References

  1. "Navigating Linux Source Code", drdobbs.com, March 1, 2001.
  2. "Using rtags ang gtags for coding Ruby" , simple-and-basic.com, October 14, 2008.
  3. "Greg's source code navigation tools", lemis.com, July 2005.
  4. "Code Spelunking: Exploring Cavernous Code Bases", queue.acm.org, October 1, 2003.

External links