Builtin is no more, final conversions done

All preloading where it needs to be
(some)tests for the preload
split compiler test
remembered binary tests (usually just run on travis)
This commit is contained in:
2019-09-13 20:34:41 +03:00
parent 8af17a69ea
commit 1ee01622c3
15 changed files with 74 additions and 34 deletions

View File

@ -49,8 +49,9 @@ module Mains
def run_code(input , name )
puts "Compiling #{name}.o" if DEBUG
code = Vool::Builtin.builtin_code + input
linker = ::RubyX::RubyXCompiler.new({}).ruby_to_binary( input , :arm )
linker = ::RubyX::RubyXCompiler.new({}).ruby_to_binary( code , :arm )
writer = Elf::ObjectWriter.new(linker)
writer.save "mains.o"