20 lines
679 B
Python
20 lines
679 B
Python
|
class main():
|
||
|
def __init__(self, interpreter):
|
||
|
self.interpreter = interpreter
|
||
|
|
||
|
def IND(self, index):
|
||
|
print("Indexing is not supported with this instruction")
|
||
|
return (1)
|
||
|
def EXEC(self, params):
|
||
|
print("Execution is not supported with this instruction")
|
||
|
return (1)
|
||
|
def ATR(self, target):
|
||
|
setattr(self.interpreter.vars[target[0]], target[1], target[2])
|
||
|
return (0, None)
|
||
|
def STAT(self, params):
|
||
|
print("Statements are not supported with this instruction")
|
||
|
return (1)
|
||
|
def OP(self, arg1, arg2):
|
||
|
print("Operations are not supported with this instruction")
|
||
|
return (1)
|