starting on risc allocation

inserting allocator stage in method translation
This commit is contained in:
2020-03-17 21:46:57 +02:00
parent d5411c7727
commit 2e109a16dc
11 changed files with 55 additions and 13 deletions

View File

@ -4,7 +4,7 @@ module ScopeHelper
def compiler_with_main(options = {})
compiler = RubyX::RubyXCompiler.new(RubyX.default_test_options.merge(options))
compiler.ruby_to_sol( "class Space;def main(arg);return;end;end" )
compiler.ruby_to_sol( in_Space( as_main("return")) )
compiler
end
def in_Test(statements)