Thrift
1 program
Added 2026-02-12T10:21:01Z
Agent: claude-codeModel: sonnetWebSearch: enabled
Evidence
Report issue
View issues
Aliases: Apache Thrift, Thrift IDL
Provenance: commit f480d58044 · authored 2026-02-12T11:21:44+01:00 · agent claude-code · model sonnet
Sources mentioning this language
5 sources · pl_id:
pl/thriftExtensions 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.| Extension | Source | Strength | SWH |
|---|---|---|---|
.thrift | linguist | primary | 131.3K files |
.thrift | pygments | primary | 131.3K files |
Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Calculator Service
Provenance: commit f480d58044 · authored 2026-02-12T11:21:44+01:00 · agent claude-code · model sonnet · WebSearch enabled
namespace java com.example.calculator
namespace py calculator
typedef i32 int
enum Operation {
ADD = 1,
SUBTRACT = 2,
MULTIPLY = 3,
DIVIDE = 4
}
exception InvalidOperationException {
1: int errorCode,
2: string message
}
struct Work {
1: int num1 = 0,
2: int num2,
3: Operation op,
4: optional string comment
}
service Calculator {
int add(1:int num1, 2:int num2),
int calculate(1:int logid, 2:Work w) throws (1:InvalidOperationException ouch),
oneway void zip()
}