Rename Vool to Sol

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
This commit is contained in:
2019-10-04 00:36:49 +03:00
parent aa9fc8bc81
commit d1f8733623
135 changed files with 636 additions and 636 deletions

View File

@ -1,7 +1,7 @@
module SlotMachine
# just name scoping the same stuff to slot
# so we know we are on the way down, keeping our layers seperated
# and we can put constant adding into the to_risc methods (instead of on vool classes)
# and we can put constant adding into the to_risc methods (instead of on sol classes)
class Constant
end

View File

@ -6,7 +6,7 @@ module SlotMachine
class BlockYield < Instruction
attr :arg_index
# pass in the source (vool statement) and the index.
# pass in the source (sol statement) and the index.
# The index is the argument index of the block that we call
def initialize(source , index)
super(source)

View File

@ -9,7 +9,7 @@ module SlotMachine
#
# Setting up the method is not part of this instructions scope. That setup
# includes the type check and any necccessay method resolution.
# See vool send statement
# See sol send statement
#
class DynamicCall < Instruction
attr :cache_entry

View File

@ -15,7 +15,7 @@ module SlotMachine
class ResolveMethod < Instruction
attr :cache_entry , :name
# pass in source (VoolStatement)
# pass in source (SolStatement)
# name of the method (don't knwow the actaual method)
# and the cache_entry
def initialize(source , name , cache_entry)

View File

@ -9,7 +9,7 @@ module SlotMachine
attr_reader :return_label
# pass in the source_name (string/vool_instruction) for accounting purposes
# pass in the source_name (string/sol_instruction) for accounting purposes
# and the return_label, where we actually jump to. This is set up by the
# method_compiler, so it is easy to find (see return_label in compiler)
def initialize( source , label )