SWIG
1 program
Added 2026-03-12T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Simplified Wrapper and Interface Generator
Provenance: commit 134cd061a9 · authored 2026-03-12T04:26:46+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
4 sources · pl_id:
pl/swigExtensions claimed by this language
5 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 |
|---|---|---|---|
.i | linguist | primary | 8.8M files |
.swg | pygments | primary | 25.7K files |
.i | pygments | secondary | 8.8M files |
.swg | linguist | secondary | 25.7K files |
.swig | linguist | secondary | 103.2K files |
Related languages
LLM-contributed programs
Basic C Function Wrappers
Provenance: commit 134cd061a9 · authored 2026-03-12T04:26:46+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
/* example.i */
%module example
%{
/* Put header files here or function declarations like below */
extern double My_variable;
extern int fact(int n);
extern int my_mod(int x, int y);
extern char *get_time();
%}
extern double My_variable;
extern int fact(int n);
extern int my_mod(int x, int y);
extern char *get_time();
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.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.i/1 | .i | predicates | [{"kind": "any", "regexes": ["^[ \\t]*%[a-z_]+\\b|^%[{}]$"]}] |