all of mom and vool

with working block tests this time
This commit is contained in:
2019-08-13 20:35:27 +03:00
parent 155c042009
commit c13a8ceb11
10 changed files with 35 additions and 68 deletions

View File

@ -4,7 +4,6 @@ module Mom
# and to instantiate the methods correctly.
class MethodCompiler < CallableCompiler
alias :callable :method
def initialize( method )
super(method)
@ -29,7 +28,6 @@ module Mom
risc_compiler = Risc::MethodCompiler.new(@callable , mom_instructions)
instructions_to_risc(risc_compiler)
block_compilers.each do |m_comp|
puts "BLOCK #{m_comp}"
risc_compiler.block_compilers << m_comp.to_risc(@callable)
end
risc_compiler