mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Add shift operator to python version
This commit is contained in:
parent
113f6d1225
commit
c3ba7d44b8
1 changed files with 3 additions and 0 deletions
|
@ -240,6 +240,9 @@ add_uint_operator('^', operator.xor)
|
|||
add_int_operator('<', operator.lt)
|
||||
add_uint_operator('u', operator.lt)
|
||||
add_uint_operator('=', operator.eq)
|
||||
add_uint_operator('(', operator.lshift)
|
||||
add_uint_operator(')', operator.rshift)
|
||||
add_int_operator('%', operator.rshift)
|
||||
def argv():
|
||||
push(ARGV_ADDR)
|
||||
push(len(sys.argv))
|
||||
|
|
Loading…
Reference in a new issue