70d5f1b2b7
Adds 'NOTIMPL' as a new primitive value, available from __builtins__.NotImplemented. Adds support for inverse / reflected overrides for binary operators. Adds opcodes for LESS_EQUAL and GREATER_EQUAL.
34 lines
264 B
Plaintext
34 lines
264 B
Plaintext
call lt 43
|
|
True
|
|
call gt 43
|
|
False
|
|
call gt 41
|
|
True
|
|
call lt 41
|
|
False
|
|
call ge 41
|
|
True
|
|
call ge 42
|
|
True
|
|
call le 43
|
|
True
|
|
call le 42
|
|
True
|
|
---
|
|
call lt 43
|
|
True
|
|
call gt 43
|
|
False
|
|
call gt 41
|
|
True
|
|
call lt 41
|
|
False
|
|
call ge 41
|
|
True
|
|
call ge 42
|
|
True
|
|
call le 43
|
|
True
|
|
call le 42
|
|
True
|