fix remaining tests

rename ripples
This commit is contained in:
Torsten Ruger
2018-06-29 22:56:49 +03:00
parent c8451d0048
commit 7006c8e3aa
11 changed files with 32 additions and 30 deletions

View File

@ -24,7 +24,7 @@ module MomCompile
def compile_first_method( input )
# works a lot like Vool.ruby_to_vool
# but here we return the intermediate mom instructions that are otherwise not available
statements = Vool::RubyCompiler.compile as_test_main( input )
statements = RubyX::RubyCompiler.compile as_test_main( input )
statements = statements.normalize
res = statements.to_mom(nil)
assert_equal Parfait::Class , statements.clazz.class , statements

View File

@ -8,7 +8,7 @@ module Risc
def setup
Risc.machine.boot
Vool::RubyXCompiler.ruby_to_binary( @string_input , :interpreter)
RubyX::RubyXCompiler.ruby_to_binary( @string_input , :interpreter)
@interpreter = Interpreter.new
@interpreter.start_machine
end