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/scratchWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | event-driven · block-based language |
|---|---|
| Designed by | Scratch Foundation |
| First appeared | 2003 |
| Influenced by | Logo · Smalltalk · HyperCard · StarLogo · AgentSheets · AgentCubes · Etoys · Snap ! |
| License | BSD 3-Clause (earlier versions of 3.0), |
| Implemented in | Squeak (Scratch 1.x) ActionScript (Scratch 2.0) HTML5 · JavaScript (Scratch 3.0) |
| Homepage | https://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.| Extension | Source | Strength | SWH |
|---|---|---|---|
.sb | wikidata | primary | 145.3K files |
.sb2 | wikidata | primary | 22.6K files |
.sb3 | wikidata | primary | 58.6K files |
.sprite | wikidata | primary | 120.2K files |
.sprite2 | wikidata | primary | 938 files |
.sprite3 | wikidata | primary | 2.0K files |
Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Simple Pong Game
Provenance: commit a274491c86 · authored 2025-10-22T12:09:54+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
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