Penguin
Note: You are viewing an old revision of this page. View the current version.

Arithmetic

+
addition, a+b is also a.+(b)
-
subtraction, a-b is also a.-(b)
/

division, a/b is also a./(b)

  • :multiplication, a*b is also a.*(b)
^
expodential, a^b is also a.^(b)
%
modulo, a%b is also a.%(b)

Bitwise

|
bitwise or, a|b is also a.|(b)
&
bitwise and, a&b is also a.&(b)
____
bitwise not, a is also a.()
<<
shiftleft, a<<b is also a.<<(b)
>>
shift right (logical), a>>b is also a.>>(b)
>>>
shift right (arithmatic), a>>>b is also a.>>>(b)
><<
roll right, a><<b is also a.><<(b)
>><
roll left,a>><b is also a.>><(b)

Boolean

in
set membership, eg: "1 in numList", a in b is also b.in(a), note that this is reversed to normal.
==
equality, a == b is also a.==(b)
<
Less than, a < b is also a.<(b)
<=
Less than or equalto, a<=b is also a.<=(b)
>
Greater than, a>b is also a>(b)
>=
Greater than or equal to, a>=b is also a.>=(b)
!=
inequality, a!=b is also a.!=(b)
and
short circut and
or
short circut or
xor
xor
not
logical not

Misc

expression [__ ''value'' __?
array subscript, a[b? is also a.[?(b)
expression . expression
dereference, a.b is also a..(b)
expression ( [arguments?... )
function call, a(...) is also a.()(...)

__? element __? element ]... ]'' ]__

constant list