2017-04-08 11:11:52 +02:00
|
|
|
require_relative "ruby_compiler"
|
|
|
|
|
|
|
|
module Vool
|
|
|
|
class VoolCompiler
|
2017-08-30 16:21:13 +02:00
|
|
|
|
2017-04-08 11:11:52 +02:00
|
|
|
def self.compile( ruby_source )
|
|
|
|
statements = RubyCompiler.compile( ruby_source )
|
|
|
|
statements.create_objects
|
|
|
|
statements
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|