Lavender

1 program Added 2026-02-28T14:31:09Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit 655a8ab8dc · authored 2026-02-28T15:31:35+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

Ponder (0.29)Sunder (0.29)Lava (0.23)Lever (0.21)Lucifer (0.19)

LLM-contributed programs

FizzBuzz

Provenance: commit 655a8ab8dc · authored 2026-02-28T15:31:35+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
code.lv · added: 2026-02-28T14:31:09Z
' A FizzBuzz program. For each number in 1..N, it prints
' "FizzBuzz" if it is divisible by both 3 and 5
' "Fizz" if it is divisible by 3
' "Buzz" if it is divisible by 5
' The number otherwise

@import stream using Indices, take

(def main(args)
    let n(int(args(0)) else 20)
    => Indices map (def(a)
        => (a % 5 = 0) ?: ("FizzBuzz", "Fizz") ; a % 3 = 0
        => (a % 5 = 0) ?: ("Buzz", str(a)) ; otherwise
    ) take n reduce (def(ac, el) => ac ++ "\n" ++ el)
)

Contribute — propose a file extension

Tell us where to find evidence about Lavender (mapped to pl/lavender). 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/Lavender/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Lava Lawrence J. Krakauer's decimal computer →