title: Applying Order Of Boolean Precedence
body: <p>I'm just wishing to clarify my understanding of how the order of boolean precedence is applied in expressions. I'll give an example using the following order of precedence:</p>
  
  <pre><code>1) NOT
  2) AND
  3) OR
  </code></pre>
  
  <p>Given the expression, <code>A NOT B AND C</code>, I know that <code>NOT</code> will be evaluated first. However, will this be applied to the rest of the expression <code>(B AND C)</code>, or just the next token, <code>B</code>?</p>
  
  <p>My current understanding is that it is the former so this should be evaluated as <code>A NOT (B AND C)</code>. Is this correct ?</p>
  
  <p>Thanks</p>