I've always contended writing software is the art of fooling the
compiler to do what you want.
If you don't like the NOT as logical vs bitwise, and the present
parser in the compiler, define your own--
function LOGNOT(x)
if x then return 0
return 1
end function
main:
if LOGNOT(xyzzy=plugh) then...