Glish

1 program Added 2026-03-10T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 450ab92ca0 · authored 2026-03-10T19:33:25+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/glish
LLM (this repo) · 1Pldb

Related languages

Fish (0.30)Glyph (0.27)Glicol (0.25)Elvish (0.23)Deadfish (0.21)

LLM-contributed programs

Fibonacci

Provenance: commit 450ab92ca0 · authored 2026-03-10T19:33:25+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.g · added: 2026-03-10T10:00:00Z
# Fibonacci sequence in Glish
# Demonstrates functions, loops, and vectors

func fibonacci(n) {
    if (n <= 1) return n;
    return fibonacci(n-1) + fibonacci(n-2);
}

# Build a record with results
results := [=];
for (i := 0; i <= 9; i +:= 1) {
    results[i+1] := fibonacci(i);
}

print("First 10 Fibonacci numbers:");
print(results);

# Vector sum using built-in
v := [1, 1, 2, 3, 5, 8, 13, 21, 34, 55];
print("Sum of first 10 Fibonacci numbers:", sum(v));

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 Glish (mapped to pl/glish). 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/Glish/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Glimmer TS glisp →