work in progress to support the named primitive via shared object loading

This commit is contained in:
hyunghwan.chung
2015-10-08 14:26:04 +00:00
parent 5c69f6c3b4
commit 8c963d919c
17 changed files with 1032 additions and 317 deletions

View File

@ -0,0 +1,40 @@
#class(#pointer) Array(Collection)
{
#method size
{
^self basicSize.
}
#method at: anInteger
{
^self basicAt: anInteger.
}
#method at: anInteger put: aValue
{
^self basicAt: anInteger put: aValue.
}
#method first
{
^self at: 1.
}
#method last
{
^self at: self size.
}
#method do: aBlock
{
1 to: self size do: [:i | aBlock value: (self at: i)].
}
}
#class(#character) String(Array)
{
}
#class(#character) Symbol(Array)
{
}