user_guide:extend:rules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
reference:rules [2016/03/14 13:42] – [Production rules] gawrilowreference:rules [2016/03/14 14:32] – [Adornments of production rules] gawrilow
Line 108: Line 108:
 === Permutations === === Permutations ===
  
-A production rule can [[permutations#Triggering the permutation|trigger a permutation]] if it produces some properties sensitive to this permutation without reading any other properties being as well sensitive to it.  While the threat of triggering could in most cases be detected automatically by analyzing the rule header, we prefer to state this explicitly by putting the following adornment line: +A production rule can [[permutations#Creating permuted subobjects|incur a permutation]] if it produces some properties sensitive to this permutation without reading any other properties being as well sensitive to it.  While the threat of triggering could in most cases be detected automatically by analyzing the rule header, we prefer to state this explicitly by putting the following adornment line: 
-  permutation : PermutationName;+  incurs PermutationName;
  
-As a little aid, there is a script ''list_suspicious_rules'' which performs the analysis of all production rules in an application and prints the headers of rules which could trigger a permutation but does not state it.+As a little aid, there is a script ''list_suspicious_rules'' which performs the analysis of all production rules in an application and prints the headers of rules which could incur a permutation but does not state it.
  
-Currently a production rule can't be declared to trigger more than one permutation.+Currentlya production rule can't be declared to incur more than one permutation.
  
 ==== Rules operating on multiple subobjects ==== ==== Rules operating on multiple subobjects ====
  • user_guide/extend/rules.txt
  • Last modified: 2021/01/12 15:38
  • by 127.0.0.1