Yash

1 program Added 2026-02-10T20:45:51Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Yet Another Shell
Provenance: commit 347a2d6750 · authored 2026-02-10T21:46:44+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

Related languages

YASM (0.38)Yab (0.37)YAP (0.35)YAP Prolog (0.35)YAQL (0.30)

LLM-contributed programs

Fibonacci Sequence Generator

Provenance: commit 347a2d6750 · authored 2026-02-10T21:46:44+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.sh · license: GPL-2.0 · added: 2026-02-10T20:46:21Z
#!/usr/bin/env yash
# Fibonacci sequence generator in Yash

fib() {
    typeset n=$1 a=0 b=1 temp
    if [ "$n" -le 0 ]; then
        return
    fi
    printf '%d' "$a"
    if [ "$n" -eq 1 ]; then
        printf '
'
        return
    fi
    printf ' %d' "$b"
    n=$((n - 2))
    while [ "$n" -gt 0 ]; do
        temp=$((a + b))
        a=$b
        b=$temp
        printf ' %d' "$temp"
        n=$((n - 1))
    done
    printf '
'
}

# Generate first 10 Fibonacci numbers
fib 10

Contribute — propose a file extension

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