rubyx/lib/register/builtin/object.rb
Torsten Ruger 6754518daf prune builtin
will need much less, many more things can be expressed in soml
2015-10-23 15:13:05 +03:00

22 lines
453 B
Ruby

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"