More or less a stash

This commit is contained in:
Torsten Ruger
2019-02-12 22:41:42 +02:00
parent 37571a0ff9
commit 86e3103543
4 changed files with 61 additions and 4 deletions

View File

@ -95,15 +95,19 @@ module RubyX
@vool << ruby_tree.to_vool
end
def load_parfait
parfait = ["object"]
parfait.each do |file|
path = File.expand_path("../../parfait/#{file}.rb",__FILE__)
ruby_to_vool(File.read(path))
end
end
def self.ruby_to_binary( ruby , platform , options)
compiler = RubyXCompiler.new(options)
# compiler.load_parfait
compiler.ruby_to_vool(ruby)
# integrate other sources into vool tree
compiler.to_binary(platform)
end
end
end