Smalltalk-78

1 program Added 2025-02-10T14:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 5afb6aa4cf · authored 2026-02-10T22:37:28+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Smalltalk-71 (0.65)Smalltalk-72 (0.65)Smalltalk-74 (0.65)Smalltalk-76 (0.65)Smalltalk-82 (0.56)

LLM-contributed programs

Point Class Implementation

Provenance: commit 5afb6aa4cf · authored 2026-02-10T22:37:28+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.st · added: 2025-02-10T14:30:00Z
Object subclass: #Point
    instanceVariableNames: 'x y'
    classVariableNames: ''
    poolDictionaries: ''

Point methodsFor: 'accessing'

x
    ^x

y
    ^y

x: aNumber
    x := aNumber

y: aNumber
    y := aNumber

Point methodsFor: 'arithmetic'

+ aPoint
    ^Point new x: (x + aPoint x) y: (y + aPoint y)

- aPoint
    ^Point new x: (x - aPoint x) y: (y - aPoint y)

Point methodsFor: 'comparing'

= aPoint
    ^(x = aPoint x) and: [y = aPoint y]

Contribute — propose a file extension

Tell us where to find evidence about Smalltalk-78 (mapped to pl/smalltalk_78). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Smalltalk-78/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Smalltalk-76 Smalltalk-80 →