Semi random code for the next step
This commit is contained in:
7
lib/vm/machine.rb
Normal file
7
lib/vm/machine.rb
Normal file
@ -0,0 +1,7 @@
|
||||
module Vm
|
||||
# the vm machine is what does things. The only one that does things
|
||||
# all things must go through the machine to actually happen
|
||||
class Machine
|
||||
|
||||
end
|
||||
end
|
17
lib/vm/values.rb
Normal file
17
lib/vm/values.rb
Normal file
@ -0,0 +1,17 @@
|
||||
module Vm
|
||||
class Value
|
||||
end
|
||||
|
||||
|
||||
class Word < Value
|
||||
end
|
||||
|
||||
class Reference < Value
|
||||
end
|
||||
|
||||
class MemoryReference < Reference
|
||||
end
|
||||
|
||||
class ObjectReference < Reference
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user