add a kenrnel array class with function stubs

This commit is contained in:
Torsten Ruger
2014-08-28 16:39:35 +03:00
parent da3cd69a5c
commit 9dd37a74df
4 changed files with 28 additions and 11 deletions

View File

@ -2,15 +2,8 @@
# instead it is parsed by salama to define part of the program that runs
class Array < BaseObject
def initialize size
end
def at(index)
end
def set(index , value)
end
#many basic array functions can not be defined in ruby, such as
# get/set/length/add/delete
# so they must be defined as CompiledMethods in Salama::Kernel
end