Proper parsing for left/right associative operators