title: Logical operators priority with NAND, NOR, XNOR
body: <p>I've searched the web but I've found no solution to this problem.</p>
  
  <p>What is the logical priority for operators <code>NAND</code>, <code>NOR</code> and <code>XNOR</code>?</p>
  
  <p>I mean, considering as example the expression</p>
  
  <pre><code>A AND B NAND C
  </code></pre>
  
  <p>which operator should be evaluated first? <br>
  Obviously <code>NAND</code> can be translated as <code>NOT-AND</code> (as <code>NOR</code> is <code>NOT-OR</code> and <code>XNOR</code> is <code>NOT-XOR</code>), but </p>
  
  <pre><code>(A AND B) NAND C != A AND (B NAND C) = A AND NOT(B AND C)
  </code></pre>
  
  <p>According to my researches there's no a defined priority for such an expression, so I think the simplest solution is to evaluate the operators according to the order they appear in the expression, but I may be wrong.</p>
  
  <p>Any suggestions?</p>