Little Smalltalk
1 program
Added 2026-02-10T18:39:29.729279Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit c3cb6f283d · authored 2026-02-10T19:40:21+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/little-smalltalk-2Related languages
LLM-contributed programs
Factorial Example
Provenance: commit c3cb6f283d · authored 2026-02-10T19:40:21+01:00 · agent claude-code · model sonnet · WebSearch disabled
Object subclass: #Integer
methods: [
factorial [
self <= 1
ifTrue: [ ^1 ]
ifFalse: [ ^self * (self - 1) factorial ]
]
]
5 factorial print
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.)