Reference

Operators

Generated from LANGUAGE.md at bf2cba0, 2026-08-22.

Arithmetic Operators

OperatorKeywords
Additionadd, plus
Subtractionsubtract, minus
Multiplicationmultiply, times
Divisiondivide
Modulomodulo, mod, remainder

Comparison Operators

ComparisonSyntax
Equalis equal to, is
Not Equalis not equal to, is not
Greater Thanis greater than
Less Thanis less than
Greater or Equalis greater than or equal to
Less or Equalis less than or equal to

Logical Operators (table)

OperatorKeyword
Andand
Oror
Notnot, isn't, aren't

isn't and aren't are contractions, and each stands for two words: isn't is is not, aren't is are not. Write them exactly where the spelled-out pair belongs — If v1 isn't v2 then, is If v1 is not v2 then, — and write a bare not everywhere no is/are belongs. These two are the only contractions in Vox: everywhere else an apostrophe is the possessive marker, a quoted name, or a character literal, and a word like don't or it's is not Vox (it's length is the possessive on a variable called it). See Names and strings.

Bitwise Operators

OperatorKeywords
Bitwise ANDbit-and
Bitwise ORbit-or
Bitwise XORbit-xor
Shift Leftbit-shift-left
Shift Rightbit-shift-right

Examples:

a number called lhs is 0b11110000.
a number called rhs is 0b10101010.

(Bitwise AND)
a number called result is lhs bit-and rhs.

(Bitwise OR)
Set result to lhs bit-or rhs.

(Bitwise XOR)
Set result to lhs bit-xor rhs.

(Bit shifting)
Set result to lhs bit-shift-left 2.
Set result to lhs bit-shift-right 4.

(Chained operations)
Set result to value bit-shift-right 8 bit-and 0xFF.