title: Unambiguous grammar for exponentiation operation
body: <pre><code>E -&gt; E+T | E-T | T
  T -&gt; T*F | T/F | F
  F -&gt; i | (E)
  </code></pre>
  
  <p>How can I modify this grammar to allow an exponentiation operation <code>^</code> so that I can write <code>i+i^i*i</code>? Since we know that order of operations is higher for <code>^</code> then all I know is that I must make it right associative.</p>