Zephyr ASDL

1 program Added 2026-03-12T08:33:43Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: ASDL, Abstract Syntax Description Language
Provenance: commit 59cdda5212 · authored 2026-03-12T09:34:20+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

3 sources · pl_id: pl/zephyr-asdl
LLM (this repo) · 1PldbEsolang

Related languages

ASDL (0.91)WDL (0.35)SDL (0.34)AHDL (0.33)JHDL (0.32)

LLM-contributed programs

Python AST Grammar

Provenance: commit 59cdda5212 · authored 2026-03-12T09:34:20+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.asdl · license: PSF-2.0 · added: 2026-03-12T08:33:43Z
-- ASDL's 6 builtin types are:
-- identifier, int, string, bytes, object, singleton

module Python
{
    mod = Module(stmt* body, type_ignore* type_ignores)
        | Interactive(stmt* body)
        | Expression(expr body)
        | FunctionType(expr* argtypes, expr returns)

    stmt = FunctionDef(identifier name, arguments args,
                       stmt* body, expr* decorator_list, expr? returns,
                       string? type_comment)
          | AsyncFunctionDef(identifier name, arguments args,
                              stmt* body, expr* decorator_list, expr? returns,
                              string? type_comment)
          | ClassDef(identifier name,
             expr* bases,
             keyword* keywords,
             stmt* body,
             expr* decorator_list)
          | Return(expr? value)
          | Delete(expr* targets)
          | Assign(expr* targets, expr value, string? type_comment)
          | If(expr test, stmt* body, stmt* orelse)
          | While(expr test, stmt* body, stmt* orelse)
          | For(expr target, expr iter, stmt* body, stmt* orelse,
                string? type_comment)

    expr = BoolOp(boolop op, expr* values)
         | BinOp(expr left, operator op, expr right)
         | UnaryOp(unaryop op, expr operand)
         | Name(identifier id, expr_context ctx)
         | Constant(constant value, string? kind)

    boolop = And | Or

    expr_context = Load | Store | Del

    operator = Add | Sub | Mult | MatMult | Div | Mod | Pow
             | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv

    unaryop = Invert | Not | UAdd | USub
}

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

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