fix mom tests
and always have a list inside a class
This commit is contained in:
@ -9,10 +9,14 @@ module RubyX
|
||||
vool
|
||||
end
|
||||
|
||||
def self.ruby_to_mom( ruby_source )
|
||||
vool = self.ruby_to_vool(ruby_source)
|
||||
vool.to_mom(nil)
|
||||
end
|
||||
|
||||
def self.ruby_to_binary(source , platform = :arm)
|
||||
machine = Risc.machine.boot
|
||||
vool = self.ruby_to_vool(source)
|
||||
vool.to_mom(nil).class
|
||||
ruby_to_mom(source)
|
||||
machine.translate(platform)
|
||||
machine.position_all
|
||||
machine.create_binary
|
||||
|
Reference in New Issue
Block a user