You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it so that the program can recognize empty brackets. Also make it so that the expressions in parentheses can be evaluated as expressions also (maybe recursively)
- (-4 +4-) + 5 //returns valid
The expression is seen as valid since the program only checks that the end of the expression ends in a non-operator, not in the expressions in parentheses (since it cannot distinguish which parenthesis ends if it is nested)
The text was updated successfully, but these errors were encountered:
Program does not recognize empty expressions in brackets
Make it so that the program can recognize empty brackets. Also make it so that the expressions in parentheses can be evaluated as expressions also (maybe recursively)
The expression is seen as valid since the program only checks that the end of the expression ends in a non-operator, not in the expressions in parentheses (since it cannot distinguish which parenthesis ends if it is nested)
The text was updated successfully, but these errors were encountered: