Scroll to navigation

SYNOPSIS(1) User Commands SYNOPSIS(1)

NAME

synopsis - simple frontend to the Synopsis framework, a multi-language source code introspection tool that provides a variety of representations for the parsed code, to enable further processing such as documentation extraction, reverse engineering, and source-to-source translation.

DESCRIPTION

Usage : synopsis [options] <input files>

List of options:

Display usage summary.
Display version information.
Operate verbosely.
Operate in debug mode.
Profile execution.
Write output to <file>.
Select a parser for <lang>.
Send <args> to the parser.

-t [<markup>]

Translate comments to doc-strings, processing it as <markup> (typical values are 'javadoc' or 'rst').
Specify a comment filter.
Specify a comment processor.
Send <args> to the comment translator.
Run the linker.
Send <args> to the linker.
Link, and invoke <processor>.

-f <type>,

Select a formatter for <type>.
Send <args> to the formatter.
Add <path> to list of include paths.
Add <macro> to list of predefined macros.

-s <directory>,

Specify sxr directory. If given, process source cross-references.
Probe the specified processor.
April 2009 synopsis version devel (revision unknown)