move interpreter to register

seems more where it belongs, since it interprets the register machine
instructions
This commit is contained in:
Torsten Ruger
2015-11-18 12:00:30 +02:00
parent 40d81681b5
commit 2bc2d4486f
5 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
require_relative "../helper"
require "interpreter/interpreter"
require "register/interpreter"
module Ticker
@ -10,7 +10,7 @@ module Ticker
#puts parts.inspect
Soml.compile( parts )
machine.collect
@interpreter = Interpreter::Interpreter.new
@interpreter = Register::Interpreter.new
@interpreter.start Register.machine.init
end