Questions Concepts
GitHub icon

Smalltalk

Smalltalk - Programming language

< >

Smalltalk is a programming language created in 1972 by Alan Kay and Dan Ingalls and Adele Goldberg.

#77on PLDB 51Years Old 9kRepos

Try now: Riju

Smalltalk is an object-oriented, dynamically typed, reflective programming language. Smalltalk was created as the language to underpin the "new world" of computing exemplified by "human–computer symbiosis." It was designed and created in part for educational use, more so for constructionist learning, at the Learning Research Group (LRG) of Xerox PARC by Alan Kay, Dan Ingalls, Adele Goldberg, Ted Kaehler, Scott Wallace, and others during the 1970s. The language was first generally released as Smalltalk-80. Read more on Wikipedia...


Example from Riju:
'Hello, world!' displayNl !
Example from hello-world:
Transcript show: 'Hello World'.
Example from Linguist:
ChartJs dataFunction ^ 'bars'
Example from Wikipedia:
quadMultiply: i1 and: i2 "This method multiplies the given numbers by each other and the result by 4." | mul | mul := i1 * i2. ^mul * 4

Language features

Feature Supported Token Example
Strings '
'Hello world'
Assignment :=
MultiLine Comments "
" A comment
"
Print() Debugging displayNl
Message Passing
Operator Overloading
Garbage Collection
Comments
Multiple Dispatch
Case Insensitive Identifiers X
Semantic Indentation X
Line Comments X
Macros X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout