How To Options
XT -- A Bundle of Program Transformation Tools
The
KoalaCompiler components are all tool components that use a standard set of command-line switches to control their operation. Below we describe the common switches. Tool-specific switches are discussed on the corresponding tool description page.
| --help | By specifying the '--help' switch, a tool component gives a brief list of the switches it accpets. Some times a brief decription of the tool is also displayed. |
| -i <file> | All components consume input. Input is read from standard input or from the file specified with the '-i' switch. |
| -o <file> | Components that have one output (e.g., koala-text , koala-dot ), write their result to standard output or to the file specified with the '-o' switch. |
| -d <dir> | Components with multiple outputs (e.g., koala-c , koala-stc ), store their results in the current working directory or in the directory specified with the '-d' option. |
| -I <dir> | The '-I' switch serves to define a search path where the koala compiler components should look for component, interface, datatype definitions, and for C source files. Multiple '-I' switches can be specified. Only the root of a directory tree needs to be specified with the '-I' switch. Searching will automatically recurse in subdirectories. |
| --verbose <n> | Verbose execution can be controlled with the '--verbose' switch. The number 'n' indicates the level of verbosity. |
--
MerijnDeJonge - 22 Dec 2004