I searched on the Internet, but I did not find a solution to this problem.
What is the logical priority for operators NAND, NORand XNOR?
I mean, taking as an example the expression
A AND B NAND C
Which operator should be evaluated first?
Obviously, you NANDcan translate as NOT-AND(as NORis NOT-ORand XNORis NOT-XOR), but
(A AND B) NAND C != A AND (B NAND C) = A AND NOT(B AND C)
According to my research, there is no particular priority for such an expression, so I think that the simplest solution is to evaluate the operators in accordance with the order that they appear in the expression, but I could be wrong.
Any suggestions?