rubyx/lib/register/builtin/object.rb

22 lines
468 B
Ruby
Raw Normal View History

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
compiler = Soml::Compiler.new.create_method(:Object , :main , []).init_method
return compiler.method
end
end
extend ClassMethods
end
end
end
2014-08-28 15:44:27 +02:00
require_relative "integer"
2014-09-10 20:35:52 +02:00
require_relative "kernel"
require_relative "word"