Pharo

1 program Added 2025-10-22T13:08:07Z Model: anthropic/claude-3.5-sonnetTemp: 0.4 Evidence Report issue View issues
Aliases: Pharo Smalltalk
Provenance: commit 252cb2038d · authored 2025-10-22T15:08:07+02:00 · model anthropic/claude-3.5-sonnet

Sources mentioning this language

4 sources · pl_id: pl/pharo
LLM (this repo) · 1PldbWikipediaWikidata · Q369096

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsobject-oriented
Typingdynamic
Designed byPharo community
First appeared2008
Influenced bySmalltalk (Squeak)
LicenseMIT, partly Apache 2.0
Implemented inSmalltalk
Homepagehttps://pharo.org/

Related languages

Smalltalk (0.50)Bistro (0.48)Cuis (0.40)Little Smalltalk (0.38)Cuis Smalltalk (0.35)

LLM-contributed programs

Conway's Game of Life

Provenance: commit 252cb2038d · authored 2025-10-22T15:08:07+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
code.st · license: MIT · added: 2025-10-22T13:08:07Z
Object subclass: #Cell
  instanceVariableNames: 'isAlive position neighbors'
  classVariableNames: ''
  package: 'GameOfLife'

Cell>>initialize
  super initialize.
  isAlive := false.
  neighbors := Set new.
  position := 0@0.

Cell>>isAlive
  ^ isAlive

Cell>>isAlive: aBoolean
  isAlive := aBoolean

Cell>>position: aPoint
  position := aPoint

Cell>>addNeighbor: aCell
  neighbors add: aCell

Cell>>nextGeneration
  | livingNeighbors |
  livingNeighbors := (neighbors select: #isAlive) size.
  self isAlive
    ifTrue: [ ^ livingNeighbors = 2 or: [ livingNeighbors = 3 ] ]
    ifFalse: [ ^ livingNeighbors = 3 ]

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 Pharo (mapped to pl/pharo). 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/Pharo/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← pharen PHAWN →