transformations according to todays post

This commit is contained in:
Torsten Ruger
2014-06-14 00:19:12 +03:00
parent 12a92e4db0
commit 2c26415de7
12 changed files with 138 additions and 127 deletions

10
lib/kernel/system.rb Normal file
View File

@@ -0,0 +1,10 @@
module Crystal
module Kernel
def self.exit context
function = Vm::Function.new(:exit , Vm::Integer , [] )
ret = Vm::RegisterMachine.instance.exit(function)
function.set_return ret
function
end
end
end