Dolphin Smalltalk

1 program Added 2026-02-12T09:12:21Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Dolphin
Provenance: commit 95cbf92283 · authored 2026-02-12T10:13:30+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/dolphin
LLM (this repo) · 1Pldb

Related languages

Cuis (0.32)Cuis Smalltalk (0.32)Syx (0.32)Little Smalltalk (0.31)Pharo (0.31)

LLM-contributed programs

Point Class Example

Provenance: commit 95cbf92283 · authored 2026-02-12T10:13:30+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.st · license: MIT · added: 2026-02-12T09:12:21Z
Object subclass: #Point
    instanceVariableNames: 'x y'
    classVariableNames: ''
    poolDictionaries: ''

!Point methodsFor: 'accessing'!

x
    ^x!

x: aNumber
    x := aNumber!

y
    ^y!

y: aNumber
    y := aNumber! !

!Point methodsFor: 'arithmetic'!

+ aPoint
    ^Point new
        x: self x + aPoint x;
        y: self y + aPoint y;
        yourself!

distanceFrom: aPoint
    | dx dy |
    dx := self x - aPoint x.
    dy := self y - aPoint y.
    ^((dx * dx) + (dy * dy)) sqrt! !

!Point methodsFor: 'printing'!

printString
    ^'(' , self x printString , '@' , self y printString , ')'! !

!Point class methodsFor: 'instance creation'!

x: xValue y: yValue
    ^self new
        x: xValue;
        y: yValue;
        yourself! !

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Dolphin Smalltalk (mapped to pl/dolphin). 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/Dolphin Smalltalk/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← dollar-sign Domain →