-
Calculator example can't parse "-(5+5)". |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
For simplicity, the calculator example doesn't currently implement unary operators (except for signs that are part of an integer literal). |
Beta Was this translation helpful? Give feedback.
-
In case you opened this issue because you are interested in how to handle unary operators in the calculator example, which is not quite trivial, you can contact us at |
Beta Was this translation helpful? Give feedback.
-
Thanks :-) But I was just reading the example and thought that this might be omission. If this is as intended, I'm okay with that. |
Beta Was this translation helpful? Give feedback.
For simplicity, the calculator example doesn't currently implement unary operators (except for signs that are part of an integer literal).