rubyx/lib/slot_machine/slot_machine.rb
Torsten Rüger 6aa6b32c50 move slot out of instruction dir
since it is not an instruction, just a helper
also doing this before rewriting slot recursively
2020-02-15 14:52:44 +07:00

25 lines
867 B
Ruby

# The *essential* step from sol to risc, is the one from a language to a machine.
# From sols statements that hang in the air, to an instruction set.
#
# ### List based: Bit like Risc, just no registers
#
# ### Use object memory : object to object transfer + no registers
#
# ### Instruction based
#
# So a machine rather than a language. No control structures, but compare and jump
# instructions. No send or dynamic call, just objects and jump.
# Machine capabilities (instructions) for basic operations.
# Use of macros for higher level.
require_relative "slot"
require_relative "message_slot"
require_relative "constant_slot"
require_relative "object_slot"
require_relative "instruction"
require_relative "slot_collection"
require_relative "callable_compiler"
require_relative "method_compiler"
require_relative "block_compiler"
require_relative "macro/macro"