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
|
|
|
|
#
|
2019-10-03 19:55:41 +02: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 10:47:18 +02:00
|
|
|
|
2019-08-06 19:44:39 +02:00
|
|
|
require_relative "instruction.rb"
|
2019-10-03 19:55:41 +02:00
|
|
|
require_relative "slot_collection"
|
2019-07-22 14:21:16 +02:00
|
|
|
require_relative "callable_compiler"
|
2019-08-06 19:44:39 +02:00
|
|
|
require_relative "method_compiler"
|
|
|
|
require_relative "block_compiler"
|
2019-09-12 12:09:30 +02:00
|
|
|
require_relative "macro/macro"
|