Handle more operator precedence and associativity.