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
There is no opening brace, so technically this is an invalid expression, and it shouldn't be evaluated like this.
The text was updated successfully, but these errors were encountered:
yurivict
changed the title
Parser is inaccurate:
Parser is inaccurate: "100 °C to °F) / 3: is evaluated to "approx. 70.6666666666 °F"
Feb 24, 2024
yurivict
changed the title
Parser is inaccurate: "100 °C to °F) / 3: is evaluated to "approx. 70.6666666666 °F"
Parser is inaccurate: "100 °C to °F) / 3": is evaluated to "approx. 70.6666666666 °F"
Feb 24, 2024
Unmatched parentheses are an intentional feature, it's really useful to be able to insert ) anywhere and have the parser automatically insert an opening bracket at the start of the input.
Yeah, opening parentheses are inserted at the beginning of input, and closing brackets at the end. At some point it might make sense to account for statements (e.g. a = 1+2; a + 1)/2) when inserting parentheses, but I think the usefulness for simple expressions still outweighs the ambiguity.
There is no opening brace, so technically this is an invalid expression, and it shouldn't be evaluated like this.
The text was updated successfully, but these errors were encountered: