2018-03-15 16:03:38 +01:00
|
|
|
# The *essential* step from vool to risc, is the one from a language to a machine.
|
|
|
|
# From vools statements that hang in the air, to an instruction set.
|
2018-03-13 12:21:33 +01:00
|
|
|
#
|
2018-03-15 16:03:38 +01:00
|
|
|
# ### List based: Bit like Risc, just no registers
|
2017-04-10 10:47:18 +02:00
|
|
|
#
|
|
|
|
# ### Use object memory : object to object transfer + no registers
|
|
|
|
#
|
|
|
|
# ### Instruction based
|
|
|
|
#
|
2018-03-15 16:03:38 +01:00
|
|
|
# So a machine rather than a language. No control structures, but compare and jump instructions.
|
2017-04-10 10:47:18 +02:00
|
|
|
# No send or call, just objects and jump.
|
|
|
|
# Machine capabilities (instructions) for basic operations. Use of macros for higher level.
|
|
|
|
|
|
|
|
module Mom
|
|
|
|
end
|
|
|
|
|
2018-03-13 12:27:24 +01:00
|
|
|
require_relative "instruction/instruction.rb"
|
2018-07-01 20:26:45 +02:00
|
|
|
require_relative "mom_compiler"
|