Yarn Spinner

1 program Added 2026-02-26T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: YarnSpinner, Yarn
Provenance: commit f63dfa2e1a · authored 2026-02-26T17:38:38+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

Yarn (0.60)Spin (0.21)YARA (0.14)Planner (0.12)Tailspin (0.12)

LLM-contributed programs

Village Dialogue

Provenance: commit f63dfa2e1a · authored 2026-02-26T17:38:38+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.yarn · added: 2026-02-26T10:00:00Z
title: Start
---
Stranger: Welcome to the village.
<<set $has_visited = false>>
-> Who are you?
    Stranger: I am the village elder. Ask me anything.
    <<jump Questions>>
-> Never mind.
    <<jump Farewell>>
===

title: Questions
---
<<set $has_visited = true>>
Elder: What would you like to know?
-> Tell me about the ancient ruins.
    Elder: The ruins to the north are thousands of years old.
    Elder: Many adventurers have sought their treasures.
-> What dangers lurk nearby?
    Elder: Wolves roam the forest at night. Stay on the main road.
-> That is all I wanted to know.
    <<jump Farewell>>
===

title: Farewell
---
<<if $has_visited>>
    Elder: Safe travels, friend. Come back if you need guidance.
<<else>>
    Stranger: Goodbye, traveller.
<<endif>>
===

Contribute — propose a file extension

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