The programming language Occam, in its time the primary language to program Transputers, did not have operator precedence, so you had to use parentheses for anything.
It was a huge pain, but probably still better than avoiding the edge cases of what you describe...
https://en.wikipedia.org/wiki/Occam_(programming_language)