move kernel to core and apply the classmethod pattern to all core classes

This commit is contained in:
Torsten Ruger
2014-05-06 12:47:07 +03:00
parent 12b6800efe
commit fa123e0354
7 changed files with 24 additions and 17 deletions

View File

@@ -28,10 +28,10 @@ module Vm
@objects = []
# global functions
@functions = []
@entry = Vm::Kernel::main_start
@entry = Core::Kernel::main_start
#main gets executed between entry and exit
@main = nil
@exit = Vm::Kernel::main_exit
@exit = Core::Kernel::main_exit
end
attr_reader :context , :main , :functions