-
Notifications
You must be signed in to change notification settings - Fork 3
Expressions
Expressions are inside normal braces ().
There are no unary operators in MeowScript.
Adds both sides.
Priority: 1
Subtracts right from `left.
Priority: 1
Multiplies both sides.
Priority: 2
Divides left through right and throws and error if right is 0.
Priority: 2
Returns left mod right and throws an error if right is 0.
Priority: 2
Returns left to the power of right.
Priority: 3
Returns 1 if left is equal to right, else 0.
Priority: 0
Returns 1 if left is not equal to right, else 0.
Priority: 0
Returns 1 if left is greater than right, else 0.
Priority: 0
Returns 1 if left is smaller than right, else 0.
Priority: 0
Returns 1 if left is equal to, or greater than right, else 0.
Priority: 0
Returns 1 if left is equal to, or smaller than right, else 0.
Priority: 0
Returns 1 if left and right are equal to 1, else 0.
Priority: -1
Returns 1 if left or right are equal to 1, else 0.
Priority: -1
Returns 1 if left or right are equal to 1, but not both, else 0.
Priority: -1
Sets variable left to right. Returns void.
Errors if left is not a variable.
Priority: -999