Translation pipeline

The running of a given translation action can be thought of as a pipeline.

At each stage, error checking is performed.

In case of an error, the error control value determines the result.

After an error condition is handled, any remaining parts of the pipeline are cleared. The translation continues with the next translation line, unless the Error value is "Error."

The stages of running, along with the potential error conditions at each stage, are:

  • Data Retrieval: Data values not available and no default given.
  • Pre-Processor Code Segment Execution: Tcl code errors out for any reason.
  • Main Translation:
    • CALL: Tcl code errors out for any reason.
    • COPY: No potential errors.
    • MATH operations: Non-numeric input, math error.
    • TABLE: Named table, or side, not found.
  • Post-Processor Code Segment Execution: Tcl code errors out for any reason.