Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Smalltalk

< >

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

#74on PLDB 52Years Old 9kRepos
REPL · Wikipedia · Docs

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 Example Token
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

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.2.0