module Register module Builtin class Object module ClassMethods # main entry point, ie __init__ calls this # defined here as empty, to be redefined def main context function = MethodSource.create_method(:Object, :Integer , :main , []) return function end end extend ClassMethods end end end require_relative "integer" require_relative "kernel" require_relative "word"