Adds syntactic sugar in the edsl for the following python operators and builtins:
a + b, a - b, a * b, a / b, a @ b, a += b, a -= b, a *= b, a /= b, a @= b, abs(a), -a, a < b, and a > b
Some noteworthy python operators/builtins that are not included:
a // b, a == b, a != b, a <= b, a >= b, a & b, a ^ b, ~a, a | b, a ** b, a << b, a >> b, a % b, not a, +a, bool(a)
There are also some slicing/assignment/deletion operators that don't really make sense in the current context of the edsl (other than the existing Expression.__getitem__ used for slicing). The full list of python operators/builtins can be found here.
Closes #1104
Adds syntactic sugar in the edsl for the following python operators and builtins:
a + b
,a - b
,a * b
,a / b
,a @ b
,a += b
,a -= b
,a *= b
,a /= b
,a @= b
,abs(a)
,-a
,a < b
, anda > b
Some noteworthy python operators/builtins that are not included:
a // b
,a == b
,a != b
,a <= b
,a >= b
,a & b
,a ^ b
,~a
,a | b
,a ** b
,a << b
,a >> b
,a % b
,not a
,+a
,bool(a)
There are also some slicing/assignment/deletion operators that don't really make sense in the current context of the edsl (other than the existing
Expression.__getitem__
used for slicing). The full list of python operators/builtins can be found here.