User Tools

Site Tools

New release available: 2014-09-29 "Hrun". upgrade now! [46] (what's this?)
Security Hotfix 2014-05-05b for to prevent zero byte attacks on external auth systems is available. upgrade now! [44.2] (what's this?)

help:boolean_expression

Boolean expressions

The Boolean expressions are employed in Conditional Partial Order Graph plugin to specify the graph conditions and in Digital Circuit plugin to specify set/reset functions of circuit components. 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:

  • a+b
  • (op1*op2)'
  • (A+B)' => C*(D^E')
help/boolean_expression.txt ยท Last modified: 2014/08/21 10:55 by danil