Slogan

1 program Added 2026-02-25T12:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 3d65bac640 · authored 2026-02-25T18:56:21+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Stan (0.27)Loglan (0.23)Superplan (0.19)Bean (0.17)Cyan (0.17)

LLM-contributed programs

Prime Number Sieve

Provenance: commit 3d65bac640 · authored 2026-02-25T18:56:21+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.sn · added: 2026-02-25T12:00:00Z
// prime number filtering over an infinitie sequnce of integers.
function sieve(xs)
  | p:xs -> p:~sieve(filter(^(x) remainder(x, p) <> 0, xs))

function int_seq(start)
  start:~int_seq(start+1)

let primes = sieve(int_seq(2))

assert first(primes) == 2
assert fifth(primes) == 11
assert nth(99, primes)  == 541

Contribute — propose a file extension

Tell us where to find evidence about Slogan (mapped to pl/slogan). 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/Slogan/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← slog slony →