rubyx/test/risc/interpreter/helper.rb
Torsten Ruger 5fe0ba06ab stash old vm
moving on to getting mom to work and can’t have both
interpreter and elf broke, about 100 tests  went
2018-03-11 17:02:42 +05:30

24 lines
469 B
Ruby

require_relative "../helper"
require "risc/interpreter"
module Risc
module Ticker
include AST::Sexp
include InterpreterHelpers
def setup
Risc.machine.boot
do_clean_compile
#FIXME Vm.compile_ast( @input )
Collector.collect_space
@interpreter = Interpreter.new
@interpreter.start Risc.machine.init
end
# must be after boot, but before main compile, to define method
def do_clean_compile
end
end
end