Torsten Rüger
d1f8733623
Simple is really the descriptive name for the layer Sure, it is "virtual" but that is not as important as the fact that it is simple (or simplified) Also objct (based really) is better, since orientated implies it is a little like that, but only orientated, not really it. Sol only has objects, nothing else Just cause i was renaming anyway
21 lines
750 B
Ruby
21 lines
750 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 "instruction.rb"
|
|
require_relative "slot_collection"
|
|
require_relative "callable_compiler"
|
|
require_relative "method_compiler"
|
|
require_relative "block_compiler"
|
|
require_relative "macro/macro"
|