more test fixes and more to do

This commit is contained in:
2019-08-10 21:59:31 +03:00
parent 213938075f
commit 0b59c95218
17 changed files with 58 additions and 47 deletions

View File

@ -53,17 +53,15 @@ module RubyX
# translates those to the platform given
#
# After creating vool, we call to_risc
def ruby_to_risc(ruby, platform)
def ruby_to_risc(ruby)
ruby_to_vool(ruby)
to_risc(platform)
to_risc()
end
# Process previously stored vool source. First to mom, then to platform.
# Translating to platform returns a linker that is returned and can be used
# to generate binaries
def to_risc(platform)
# Process previously stored vool source. First to mom, then to risc.
def to_risc()
mom = to_mom
mom.to_risc(platform)
mom.to_risc()
end
# ruby_to_mom does exactly that, it transform the incoming ruby source (string)