Help file for PRETTY (2 Pages) Version No. 8.2, February 1982 PRETTY is a utility program which accepts a BLISS (-16, -32, or -36) source file and produces a reformatted source file (and optionally a specially formatted listing file), using generally accepted guidelines for formatting rules. The output file will have all whitespace (except in strings, macro definitions, and comments) removed and replaced. Control expressions are indented according to hierarchical structure. To invoke PRETTY, type RUN BLI:PRETTY. It will prompt with 'BLF>' for a file specification line of the form input.type [/OUTPUT:name.type] [/LISTING:name.type] [/(NO)LOG] [/EXIT] where 'input.type' is the source file specification (default type = 'BLI') and 'list.type' is the listing file specification (default type = 'LST', name = the input file name). /NOLOG is the default; no syntax errors, module or routine names be displayed. If errors occur during parsing an informational message will be output. /LOG will display errors, module and routine names. The output filespec designates the new, reformatted source file. If it is omitted, a new generation of the input file is created. (Note: Production of the listing file approximately doubles the PRETTY run time.) Formatting options are supplied to PRETTY by means of directives inserted as full-line comments into the source text. The comments have the general form ! example: ! where "directive" may be one of the following (either lower or upper case may be used): REQUIRE'file-spec' Accesses the specified file for further options of the following types. The specified file must not contain another REQUIRE directive. PAGE Produces a page break (formfeed) after the comment line. WIDTH:n (D= 110) Causes the output file line width to be set to "n" columns, where 71 permits the sequence IF expr THEN expr ELIF expr THEN expr; to be formatted without error messages. (The name, ELIF, is output, but it is parsed and indented as though ELSE IF had been found there.)