add a kenrnel array class with function stubs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user