18 lines
359 B
Ruby
18 lines
359 B
Ruby
require_relative "kernel"
|
|
require_relative "program"
|
|
|
|
module Vm
|
|
|
|
#currently just holding the program in here so we can have global access
|
|
class Context
|
|
# Make hash attributes to object attributes
|
|
include Support::HashAttributes
|
|
|
|
def initialize program
|
|
@attributes = {}
|
|
@attributes["program"] = program
|
|
end
|
|
|
|
end
|
|
end
|