I think this is a cool idea, but I wonder if it might be more effective to learn which parenthesis you can remove. I wasn't entirely clear on how many I should be adding and had to look at the console to figure out why it wasn't accepted.
I'd rather give it the expression and it gives <i>me</i> the parenthesized form.<p>I've always thought << and >> should have precedence close to * and /, since they just multiply and divide by powers of two.
I believe this game is NSFW for most C jobs out there.<p>Also:<p><pre><code> a <= b <= -c
(a <= b) <= -c
</code></pre>
Invalid answer. <= has LTR associativity, what’s wrong? (Apparently it requires “… (-c)”, my bad).