rubyx/lib/mom/mom.rb
2018-03-13 16:57:24 +05:30

19 lines
616 B
Ruby

# The *essential* step from vool to risc, is the one from a language to a machine. From statements
# that hang in the air, to an instruction set.
#
# ### Tree based: So almost 1-1 from vool
#
# ### Use object memory : object to object transfer + no registers
#
# ### Instruction based
#
# So a machine than language. No control structures, but compare and jump instructions.
# No send or call, just objects and jump.
# Machine capabilities (instructions) for basic operations. Use of macros for higher level.
module Mom
end
require_relative "instruction/instruction.rb"
require_relative "statement/statement.rb"