Squiggle

1 program Added 2026-02-09T08:59:34Z Agent: claude-codeModel: opusWebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit 0ddafc68a2 · authored 2026-02-09T10:00:46+01:00 · agent claude-code · model opus

Sources mentioning this language

3 sources · pl_id: pl/squiggle
LLM (this repo) · 1PldbEsolang

Related languages

Squiffy (0.27)Squirrel (0.25)Squeak (0.20)Squint (0.19)Scribble (0.18)

LLM-contributed programs

Piano Tuners in NYC Over Time

Provenance: commit 0ddafc68a2 · authored 2026-02-09T10:00:46+01:00 · agent claude-code · model opus · WebSearch enabled
code.squiggle · license: MIT · added: 2026-02-09T08:59:34Z
populationOfNewYork2022 = 8.1M to 8.4M

proportionOfPopulationWithPianos = {
 percentage = (.2 to 1)
 percentage * 0.01
}
pianoTunersPerPiano = {
 pianosPerPianoTuner = 2k to 50k
 1 / pianosPerPianoTuner
}

//We only mean to make an estimate for the next 10 years.
startYear = 2024
endYear = 2034
domain = [startYear, endYear]

/** Time in years after 2024 */
populationAtTime(t: domain) = {
 averageYearlyPercentageChange = normal({p5:-0.01, p95:0.05})
 populationOfNewYork2022 * ((averageYearlyPercentageChange + 1) ^ (t - startYear))
}
totalTunersAtTime(t: domain) = (
populationAtTime(t) *
proportionOfPopulationWithPianos *
pianoTunersPerPiano
)

{
 populationAtTime,
 totalTunersAtTimeMedian: {|t: domain| median(totalTunersAtTime(t))}
}

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 Squiggle (mapped to pl/squiggle). 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/Squiggle/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Squiffy Squint →