clean up booting

many machine boot became obsolete
or just neede parfait to boot
actual linker functionality pending
This commit is contained in:
Torsten Ruger
2018-07-01 14:12:42 +03:00
parent e75aef933d
commit c947c27a14
32 changed files with 71 additions and 62 deletions

View File

@ -4,11 +4,10 @@ module RubyX
module RubyXHelper
def setup
Parfait.boot!
Risc.machine.boot
Risc.boot!
end
def ruby_to_risc(input , platform)
mom = ruby_to_mom(input)
puts "MOM #{mom.class}"
mom.translate(platform)
end
def ruby_to_vool(input)

View File

@ -51,7 +51,7 @@ module Vool
include RubyTests
def setup
Risc.machine.boot
Parfait.boot!
end
def compile_ct( input )
lst = compile( input )

View File

@ -64,7 +64,7 @@ module Vool
include RubyTests
def setup
Risc.machine.boot
Parfait.boot!
end
def test_int_receiver

View File

@ -21,7 +21,7 @@ module Vool
assert_equal true , @lst.has_yield?
end
def test_method_args
Risc.machine.boot
Parfait.boot!
assert_equal 2 , @lst.make_arg_type.get_length
end
end