Rules
Syntax
RuleStatement :
Expression<true> RuleOp Expression<true>*;
RuleOp :
<|<=|=|>=|>
| IDENT
|!RuleOp
Rules are the basic building blocks of a figure. They define relationships between figure objects. Geo-AID attempts to generate a figure that obeys them as best as it can. Rules tie two expressions (left and right hand side) with a relationship, otherwise known as the rule operator. Currently supported rule operators are all comparison operators. When given an identifier, a proper defined rule operator is looked up and compiled accordingly (currently none supported). Rules can also be inverted with an exclamation mark in front of the operator.