and/get: .*
or/set: .+
xor/toggle: .#
clear: ./
all also work in-place
Bitwise And,
or as an in-place operation
getting the B bit flags of A:
A.*B
A\B| 0 1
---+----
0 | 0 0
1 | 0 1
Bitwise Or,
or as an in-place operation
setting the B bit flags of A:
A.+B
A\B| 0 1
---+----
0 | 0 1
1 | 1 1
Bitwise Xor,
or as an in-place operation
toggling the B bit flags of A:
A.#B
A\B| 0 1
---+----
0 | 0 1
1 | 1 0
As an in-place operation
clearing the B bit flags of A,
or a shorthand for A.#(A.*B):
A./B
A\B| 0 1
---+----
0 | 0 0
1 | 1 0
JS:
a&=b
a|=b
a^=b
a^=a&b