Leaf

1 program Added 2026-03-12T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Leaf (Vapor)
Provenance: commit fe04638c0d · authored 2026-03-12T03:30:37+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

2 sources · pl_id: pl/leaf
LLM (this repo) · 1Pldb

Related languages

Lean 4 (0.13)Lean4 (0.13)Leda (0.11)Lego (0.11)Lens (0.11)

LLM-contributed programs

Product Listing Template

Provenance: commit fe04638c0d · authored 2026-03-12T03:30:37+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.leaf · license: MIT · added: 2026-03-12T10:00:00Z
<!DOCTYPE html>
<html lang="en">
<head>
    <title>#(title)</title>
</head>
<body>
    <h1>Welcome, #(user.name)!</h1>
    #if(user.isAdmin):
        <p class="admin-badge">Administrator</p>
    #endif
    <h2>Your Items</h2>
    #if(items.isEmpty):
        <p>No items found.</p>
    #else:
        <ul>
        #for(item in items):
            <li>
                <strong>#(item.name)</strong>
                &mdash; $#(item.price)
                #if(item.inStock):
                    <span class="available">In Stock</span>
                #else:
                    <span class="unavailable">Out of Stock</span>
                #endif
            </li>
        #endfor
        </ul>
        <p>Total items: #(items.count)</p>
    #endif
</body>
</html>

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 Leaf (mapped to pl/leaf). 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/Leaf/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Le_Lisp Lean →