Tamsin

1 program Added 2026-02-11T12:32:20Z Agent: claude-codeModel: recovery Evidence Report issue View issues
Aliases: —
Provenance: commit 32ede2bbc5 · authored 2026-02-22T16:31:30+01:00 · agent claude-code · model recovery

Sources mentioning this language

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

Related languages

Tailspin (0.29)Tamgu (0.25)Tampio (0.23)Tamarin (0.19)Kuin (0.17)

LLM-contributed programs

Arithmetic Expression Evaluator

Provenance: commit 32ede2bbc5 · authored 2026-02-22T16:31:30+01:00 · agent claude-code · model recovery
code.tamsin · added: 2026-02-11T12:32:20Z
# A simple calculator in Tamsin
# Evaluates arithmetic expressions

main <- expr $;

expr <- term '+' expr { add($1, $3) }
      | term '-' expr { sub($1, $3) }
      | term { $1 };

term <- factor '*' term { mul($1, $3) }
      | factor '/' term { div($1, $3) }
      | factor { $1 };

factor <- '(' expr ')' { $2 }
        | number { $1 };

number <- /[0-9]+/ { int($1) };

Contribute — propose a file extension

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