Boolean expressions

The Boolean expressions are employed in the following plugins:

Workcraft recognises the following fairly standard syntax for the Boolean expressions:

<expression> ::= <term> | <term> + <expression> | <term> ^ <expression> | <expression> => <expression>
<term> ::= <factor>  | <factor> * <term>
<factor> ::= <literal> | <literal>' | (<expression>) | (<expression>)'
<literal> ::= C_STYLE_NAME | 0 | 1

The following five Boolean operators are used in this grammar:

Here are few examples of good Boolean expressions: