rubyx/lib/register/builtin/integer.rb

22 lines
504 B
Ruby
Raw Normal View History

#integer related kernel functions
module Register
module Builtin
module Integer
module ClassMethods
include AST::Sexp
2015-08-07 15:46:55 +02:00
def mod4 context
compiler = Soml::Compiler.new.create_method(:Integer,:mod4 ).init_method
return compiler.method
2015-08-05 17:49:37 +02:00
end
def putint context
compiler = Soml::Compiler.new.create_method(:Integer,:putint ).init_method
return compiler.method
2015-08-05 17:49:37 +02:00
end
end
extend ClassMethods
end
end
end