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:
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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 )
|
||||
|
Reference in New Issue
Block a user