Kwil

1 program Added 2026-03-13T02:20:43Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Kuneiform, KwilDB
Provenance: commit d36a3d9aaa · authored 2026-03-13T03:21:05+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

Cuneiform (0.29)FORM (0.13)Inform 0 (0.11)Inform 1 (0.11)Inform 2 (0.11)

LLM-contributed programs

Social Database Schema

Provenance: commit d36a3d9aaa · authored 2026-03-13T03:21:05+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.kf · added: 2026-03-13T02:20:43Z
database social;

table users {
    id int primary key notnull,
    username text notnull unique,
    wallet text notnull unique
}

table posts {
    id int primary key notnull,
    author_id int notnull,
    content text notnull,
    created_at int notnull,
    foreign key (author_id) references users(id)
}

procedure create_user($id int, $username text, $wallet text) public {
    INSERT INTO users (id, username, wallet)
    VALUES ($id, $username, $wallet);
}

procedure add_post($id int, $author int, $content text, $time int) public {
    INSERT INTO posts (id, author_id, content, created_at)
    VALUES ($id, $author, $content, $time);
}

procedure get_user_posts($uid int) public view
    returns table(content text, created_at int) {
    return SELECT content, created_at
           FROM posts
           WHERE author_id = $uid
           ORDER BY created_at DESC;
}

Contribute — propose a file extension

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