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