Semi random code for the next step
This commit is contained in:
parent
aaed2ed5a1
commit
874f080ba2
4
lib/core/integer.rb
Normal file
4
lib/core/integer.rb
Normal file
@ -0,0 +1,4 @@
|
||||
module Core
|
||||
module Integer
|
||||
end
|
||||
end
|
4
lib/core/string.rb
Normal file
4
lib/core/string.rb
Normal file
@ -0,0 +1,4 @@
|
||||
module Core
|
||||
module String
|
||||
end
|
||||
end
|
9
lib/core/system.rb
Normal file
9
lib/core/system.rb
Normal file
@ -0,0 +1,9 @@
|
||||
module Core
|
||||
module System
|
||||
|
||||
def puts io , c-string , length
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
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
|
Loading…
x
Reference in New Issue
Block a user