Eas (Easy Application Script) by Molaskes

Syntax Guide:20. Bitmask Operations

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
Eas:
a.*b
a.+b
a.#b
a./b
JS:
a&=b
a|=b
a^=b
a^=a&b
20. Bitmask Operations
D Download Eas 4B
C Contact
Esc Search / Table of Contents