17 lines
340 B
Ruby
17 lines
340 B
Ruby
require_relative "ruby_compiler"
|
|
|
|
module Vool
|
|
class VoolCompiler
|
|
|
|
def self.ruby_to_vool( ruby_source )
|
|
statements = RubyCompiler.compile( ruby_source )
|
|
statements.create_objects
|
|
statements
|
|
end
|
|
def self.ruby_to_mom(source)
|
|
statements = elf.ruby_to_vool(source)
|
|
statements.to_mom
|
|
end
|
|
end
|
|
end
|