21 lines
712 B
Python
21 lines
712 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):
|
||
|
print("Getting an attribute is not supported with this instruction")
|
||
|
return (1)
|
||
|
def STAT(self, params):
|
||
|
object = self.interpreter.ENG.object()
|
||
|
self.interpreter.vars[params[0]] = object
|
||
|
return (0, None)
|
||
|
def OP(self, arg1, arg2):
|
||
|
print("Operations are not supported with this instruction")
|
||
|
return (1)
|