IBM
Contents Index Previous Next



The PR to GR Converter


General

The PR to GR Converter performs a conversion from SDL/PR files into SDL/GR diagrams. (It is also possible to input SDL/GR diagrams, which transforms them to new SDL/GR diagrams, applying default layouting algorithms.)

Conversion is done on a one-diagram-per-file basis, meaning that each generated GR diagram will be stored on one file. However, entering a PR file may generate multiple GR diagrams, depending on the contents of the PR file.

Note:

The PR to GR converter requires syntactically correct diagrams or PR files as input in order to function properly.

Diagrams containing semantic errors will be converted, but, the resulting SDL/GR interpretation may be different from the SDL/PR representation.

Conversion Principles

The Analyzer passes which are performed are:

  1. Macro expansion (if the PR input contains macro definitions).
  2. Syntax analysis.
  3. PR to GR conversion.
  4. Then, graphical layouting is done by the SDL Editor.

Resulting files

The result from the PR to GR conversion is a number of SDL/GR binary files. Each diagram will be stored on one file.

To reconstruct the SDL diagram structure, the Organizer's command Import SDL should be used (see Import SDL).


http://www.ibm.com/rational
Contents Index Previous Next