fix test result, but not test yet

This commit is contained in:
Torsten Ruger
2015-08-07 16:46:55 +03:00
parent 4afd7f78ca
commit ca14ef8914
6 changed files with 40 additions and 16 deletions

View File

@ -170,5 +170,17 @@ module Interpreter
# we jump back to the call instruction. so it is as if the call never happened and we continue
true
end
def execute_OperatorInstruction
case @instruction.operator
when :add
puts @instruction
else
raise "unimplemented operator #{@instruction}"
end
true
end
end
end