Smalltalk

From GNUstepWiki

Smalltalk is pure object oriented language with environment. In the context of the GNUstep, the Smalltalk is a ''[[Scripting language bundle]]'' for the [[StepTalk]] scripting framework.

Smalltalk is pure object oriented language with environment. In the context of the GNUstep, the Smalltalk is a ''[[Scripting language bundle]]'' for the [[StepTalk]] scripting framework.

-

Note that the language bundle offers Smalltalk language only, that sits on top of the Objective C object environment. Therefore, some classes and mechanisms known from Smalltalk are not (yet) available.

+

Note that the language bundle offers Smalltalk language only, that sits on top of the [[Objective-C]] object environment. Therefore, some classes and mechanisms known from Smalltalk are not (yet) available.

== The Language ==

== The Language ==

Line 87:

Line 87:

array := #('one' 'two' 'three').

array := #('one' 'two' 'three').

-

array do: [[ :item | Transcript showLine: item ]

+

array do: [ :item | Transcript showLine: item ]

-

array select: [[ :item | item hasPrefix:'t' ]

+

array select: [ :item | item hasPrefix:'t' ]

{| border=1

{| border=1

Current revision

Smalltalk is pure object oriented language with environment. In the context of the GNUstep, the Smalltalk is a Scripting language bundle for the StepTalk scripting framework.

Note that the language bundle offers Smalltalk language only, that sits on top of the Objective-C object environment. Therefore, some classes and mechanisms known from Smalltalk are not (yet) available.