let boot_functions return the compilers

methods are still added, but this is a good step to removing the risc/cpu level from the methods
This commit is contained in:
Torsten Ruger
2018-06-30 23:16:17 +03:00
parent 208b98d709
commit 91a99b1239
6 changed files with 62 additions and 27 deletions

View File

@ -10,7 +10,7 @@ module Risc
def main(context)
compiler = compiler_for(:Space , :main ,{args: :Integer})
compiler.add_mom( Mom::ReturnSequence.new)
return compiler.method
return compiler
end
end