rubyx/test/virtual/virtual_helper.rb
Torsten Ruger b980def84e move space to parfait
Also make the machine the singleton
and space hang off it

Many repercussions, not all fixed in this commit
2015-05-12 15:36:44 +03:00

21 lines
415 B
Ruby

require_relative '../helper'
require 'parslet/convenience'
require "yaml"
module VirtualHelper
# need a code generator, for arm
def setup
# @object_space = Boot::Space.new "Arm"
end
def check
machine = Virtual::Machine.boot
expressions = machine.compile_main @string_input
is = Sof::Writer.write(expressions)
#puts is
is.gsub!("\n" , "*^*")
assert_equal is , @output
end
end