moved all the normalize stuff over to the ruby layer

Which is how it should have been from the start
This commit is contained in:
Torsten Ruger
2018-07-19 14:47:29 +03:00
parent 38350dd198
commit ae3d64eb53
15 changed files with 5 additions and 179 deletions

View File

@ -1,5 +1,3 @@
require_relative "ruby_compiler"
module RubyX
class RubyXCompiler
attr_reader :source
@ -9,8 +7,8 @@ module RubyX
end
def ruby_to_vool
vool = RubyCompiler.compile( source )
vool = vool.normalize
ruby = Ruby::RubyCompiler.compile( source )
vool = ruby.to_vool
vool
end