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

View File

@ -2,7 +2,7 @@ require "vm/context"
require "boot/boot_class"
require "vm/call_site"
require "arm/arm_machine"
require "core/kernel"
require "kernel/all"
require "boot/object"
require "boot/string"
@ -69,7 +69,7 @@ module Boot
end
[:utoa, :putstring,:putint,:fibo,:exit].each do |f|
puts "Boot Kernel::#{f}"
obj.add_function Core::Kernel.send(f , @context)
obj.add_function Crystal::Kernel.send(f , @context)
end
obj = get_or_create_class :String
[:get , :set].each do |f|