Cap'n Proto

1 program Added 2026-02-12T10:37:49Z Agent: claude-codeModel: recovery Evidence Report issue View issues
Aliases: capnproto, capnp
Provenance: commit a749ad1660 · authored 2026-02-22T16:31:30+01:00 · agent claude-code · model recovery

Sources mentioning this language

4 sources · pl_id: pl/capn-proto
LLM (this repo) · 1LinguistPygmentsHyperpolyglot

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.capnplinguistprimary25.9K files
.capnppygmentsprimary25.9K files

Related languages

MIT Proto (0.20)Carp (0.14)Protocol Buffers (0.14)Cakelisp (0.12)Profan² (0.11)

LLM-contributed programs

Address Book Schema

Provenance: commit a749ad1660 · authored 2026-02-22T16:31:30+01:00 · agent claude-code · model recovery
code.capnp · added: 2026-02-12T10:37:49Z
# Example Cap'n Proto schema definition
# Defines a simple address book structure

@0x85150b117366d14c;

struct Person {
  id @0 :UInt32;
  name @1 :Text;
  email @2 :Text;

  phones @3 :List(PhoneNumber);

  employment :union {
    unemployed @4 :Void;
    employer @5 :Text;
    school @6 :Text;
    selfEmployed @7 :Void;
  }

  struct PhoneNumber {
    number @0 :Text;
    type @1 :Type;

    enum Type {
      mobile @0;
      home @1;
      work @2;
    }
  }
}

struct AddressBook {
  people @0 :List(Person);
}

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 Cap'n Proto (mapped to pl/capn-proto). 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/Cap'n Proto/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← CAP CDS Cap'n Proto schema →