Scratch

1 program Added 2025-10-22T10:09:54Z Model: anthropic/claude-3.5-sonnetTemp: 0.4 Evidence Report issue View issues
Aliases: ScratchLang
Provenance: commit a274491c86 · authored 2025-10-22T12:09:54+02:00 · model anthropic/claude-3.5-sonnet

Sources mentioning this language

6 sources · pl_id: pl/scratch
LLM (this repo) · 1PldbWikipediaEsolangRosettacodeWikidata · Q275131

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.

Paradigmsevent-driven · block-based language
Designed byScratch Foundation
First appeared2003
Influenced byLogo · Smalltalk · HyperCard · StarLogo · AgentSheets · AgentCubes · Etoys · Snap !
LicenseBSD 3-Clause (earlier versions of 3.0),
Implemented inSqueak (Scratch 1.x) ActionScript (Scratch 2.0) HTML5 · JavaScript (Scratch 3.0)
Homepagehttps://scratch.mit.edu/

Extensions claimed by this language

6 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.sbwikidataprimary119.1K files
.sb2wikidataprimary21.1K files
.sb3wikidataprimary27.1K files
.spritewikidataprimary101.7K files
.sprite2wikidataprimary902 files
.sprite3wikidataprimary696 files

Related languages

Slang (0.29)SCRATCHPAD (0.29)Scallop (0.24)S-lang (0.24)Seq (0.23)

LLM-contributed programs

Simple Pong Game

Provenance: commit a274491c86 · authored 2025-10-22T12:09:54+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
code.sb3 · license: MIT License · added: 2025-10-22T10:09:54Z
when green flag clicked
set [score v] to [0]
forever
if <touching [paddle v]?> then
change [score v] by (1)
point in direction ((180) + ((x position) * (2)))
end
if <touching [edge v]?> then
point in direction ((180) - (direction))
end
move (10) steps
end

when green flag clicked
forever
set x to (mouse x)
end

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 Scratch (mapped to pl/scratch). 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/Scratch/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Scrapscript Scratch 3.0 →