Sign inSign up

100hellos/smalltalk

By 100hellos

•Updated 4 months ago

"Hello World!" Written in smalltalk

Image
0

4.5K

100hellos/smalltalk repository overview

⁠Hello World! From smalltalk.

Language page⁠ — context, influences, and learning notes on the 100hellos site.

Source on GitHub⁠ (100hellos/smalltalk)

⁠Trying it

docker run --rm --platform="linux/amd64" 100hellos/smalltalk:latest

⁠Modifying it

Read the repo README⁠, or fork the project⁠ and customize it.

For an interactive shell:

docker run --rm --platform="linux/amd64" --entrypoint="" -it 100hellos/smalltalk:latest zsh

⁠Smalltalk

Quoting Wikipedia⁠:

Smalltalk is a purely object oriented programming language (OOP), which was originally created in the 1970s for educational use, specifically for constructionist learning, but later found use in business. It was created at Xerox PARC by Learning Research Group (LRG) scientists, including Alan Kay, Dan Ingalls, Adele Goldberg, Ted Kaehler, Diana Merry, and Scott Wallace.

In Smalltalk, executing programs are built of opaque, atomic, so-called objects, which are instances of template code stored in classes. These objects intercommunicate by passing of messages, via an intermediary virtual machine environment (VM). A relatively small number of objects, called primitives, are not amenable to live redefinition, sometimes being defined independently of the Smalltalk programming environment.

Smalltalk is notable for influencing a wide range of languages, including Ruby and Crystal, which both copy a lot of Smalltalk's syntax and idioms.

In this container we make use of the GNU Smalltalk implementation of Smalltalk-80 to demonstrate a simple program which defines a class, instantiates it, and sends it a message.

Tag summary

Content type

Image

Digest

sha256:9035336a9…

Size

92.6 MB

Last updated

4 months ago

docker pull 100hellos/smalltalk