What is "The Smalltalk for those who can type" supposed to mean?


It is a pun on the usage of a text editor (and thus using the keyboard more, and the mouse less) to write programs for GNU Smalltalk, which sets it different from other Smalltalk.

How do I get GNU Smalltalk?


See the download section of this site.

If you are interested in development versions, you might also use the git repository (or the CVS mirror) that host the most recent code for GNU Smalltalk.

Is there a GNU Smalltalk tutorial?


Yes, there is a tutorial that is part of the GNU Smalltalk manual. See here for an online version.

You may also be interested in Canol Gokel's book "Computer Programming using GNU Smalltalk". You can get the e-book version for free, or buy a printed version.

How does Smalltalk look like?


Let's define a class called Person, holding a name and an age. (Note: this code only works in Smalltalk 2.95a and later. The syntax for previous versions is more verbose and less clear).

Object subclass: Person [
    | name age |
    Person class >> name: aString age: anInteger [
        ^self new name: aString; age: anInteger; yourself

    name [ ^name ]
    name: aString [ name := aString ]
    age [ ^age ]
    age: anInteger [ age := anInteger ]

    printOn: aStream [
        aStream << ('%1 (%2)' % {name. age})

Syndicate content

User login