XREF Tech

xref --help

Source browsing and refactoring for C and Java

Notes on the Xref-Speller tools: how the cross-reference file is built, how to browse sources as hypertext and how to refactor safely.

ls languages/

Two languages, one cross-reference

C-Source Browsing and XREF-Speller

C

C-Source Browsing and XREF-Speller

Full pre-processing and parsing of K&R and ANSI sources - and how pre-processor constructs keep their original position.

Java Source Browsing with X-REF SPELLER

Java

Java Source Browsing with X-REF SPELLER

Browsing Java sources as linked hypertext: what changed, and what the tool deliberately kept.

man xref

The tools

Xref-Speller Refactoring$ refactor

Xref-Speller Refactoring

Refactoring after Martin Fowler - applied to C through the tool's source-browsing features.

Programs$ generate

Programs

How the cross-reference file is generated from pre-processed, parsed sources.

Source Browsing$ browse

Source Browsing

Source browsing as hypertext: jumping between definitions and uses.

XREF Program$ about

XREF Program

What a 'program' means here, and where XREF fits in the tool chain.