Compiler Preferences

The Compiler preferences dialog box shown below has default settings for the Options, Structure, Language, and Optimization functions.

Compiler Options

Options

The Options section of the Compiler preferences dialog box allows you to specify the verbosity level for the LogicGem compiler. By checking the individual boxes, you can activate Rule Numbers, Statistic Code, Table, and Rule Descriptions in the compiled code. As many options as desired may be checked. For more information on each setting, see the Compiling Decision Tables section.

The Line Wrap setting controls if LogicGem will automatically wrap lines of a text. The default value of zero specifies that compiled output should not be wrapped. A value larger than zero specifies the column at which lines of text should be wrapped to the next line. For example, if this was set to a value of 80 then text which was longer than 80 characters would be wrapped to the next line.

Structure

The Structure section of the Compiler preferences dialog box allows you to specify the structure of the code generated by the LogicGem compiler. By clicking the desired option button, you can select a structure: Nested If/Else, Case/Switch, or Rule List. Only one structure may be selected. For more information on each structure, see the Compiling Decision Tables section.

Language

The Language pull-down list of the Compiler preferences dialog box allows you to select the target natural or programming language for the LogicGem compiler. Only one language may be specified at a time. For more information on each setting, see the Compiling Decision Tables section.

Optimization

The Optimization section of the Compiler preferences dialog box allows you to specify how code generated by the LogicGem compiler will be optimized. By clicking the desired option button, you can select from a set of six options. In most cases, it is recommended you use the default optimization. For more information on each setting, see the Optimization Options section.

NOTE: Due to its inherent nature, the Compiler optimization options are generally only appropriate for the Nested If/Else code structures.