OpShin

1 program Added 2026-02-12T12:19:49Z Agent: claude-codeModel: sonnetWebSearch: enabled Evidence Report issue View issues
Aliases: opshin
Provenance: commit bdf5a196e7 · authored 2026-02-12T13:20: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

OPS5 (0.25)Open Dylan (0.20)XION (0.17)Odin (0.16)Kuin (0.15)

LLM-contributed programs

Assert Sum Validator

Provenance: commit bdf5a196e7 · authored 2026-02-12T13:20:44+01:00 · agent claude-code · model sonnet · WebSearch enabled
code.py · added: 2026-02-12T12:19:49Z
#!opshin
from opshin.prelude import *


def validator(context: ScriptContext) -> None:
    datum: int = own_datum_unsafe(context)
    redeemer: int = context.redeemer
    assert (
        datum + redeemer == 42
    ), f"Expected datum and redeemer to sum to 42, but they sum to {datum + redeemer}"

Contribute — propose a file extension

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