Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Eliminate Operator Precedence #506
Whiley currently supports the usual concepts of operator precedence. However, this is unsatisfactory for a few reasons. Firstly, it complicates the language specification itself. Secondly we have to choose precedence for some operators and it seems arbitrary. Finally if we want to support operator overloading, this will be a problem.
I think there are two good options: