2019-10-04 00:36:49 +03:00
|
|
|
# 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.
|
2018-03-13 16:51:33 +05:30
|
|
|
#
|
2018-03-15 20:33:38 +05:30
|
|
|
# ### List based: Bit like Risc, just no registers
|
2017-04-10 11:47:18 +03:00
|
|
|
#
|
|
|
|
# ### Use object memory : object to object transfer + no registers
|
|
|
|
#
|
|
|
|
# ### Instruction based
|
|
|
|
#
|
2019-10-03 20:55:41 +03:00
|
|
|
# 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.
|
2017-04-10 11:47:18 +03:00
|
|
|
|
2019-08-06 20:44:39 +03:00
|
|
|
require_relative "instruction.rb"
|
2019-10-03 20:55:41 +03:00
|
|
|
require_relative "slot_collection"
|
2019-07-22 15:21:16 +03:00
|
|
|
require_relative "callable_compiler"
|
2019-08-06 20:44:39 +03:00
|
|
|
require_relative "method_compiler"
|
|
|
|
require_relative "block_compiler"
|
2019-09-12 13:09:30 +03:00
|
|
|
require_relative "macro/macro"
|