.k
3 claimants
3 primary
0 secondary
shared primary (3)
SWH popularity
From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.
175.8K
total occurrences
40.9K
since 2019 (23.3%)
1970–2023
years active
Case variants in archive: .k (162.7K), .K (13.2K) — aggregated above.
Attribution status
This extension is attributed to K; KCL; KFramework as primary by 3 authoritative claims.
Claimants (3)
Languages that list
.k among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| K | pygments | primary |
| KCL | linguist | primary |
| KFramework | linguist | primary |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim
.k on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Desktop Color Separation Q28205883 file format | file format | — | — | — | Use as new PL ↗ |
| K source code file Q130057181 file format | file format | — | — | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.k file actually is.| Rule | Predicts | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.k/0 | KCL | predicates | [{"kind": "any", "regexes": ["^schema [A-Za-z0-9_-]+", "^\\}$", "\\s*\\}\\s*"]}] |
h/linguist/.k/1 | KFramework | predicates | [{"kind": "any", "regexes": ["^requires\\s+\"[^\"]+\"$", "^syntax\\s+\\w+\\s+::=.*", "^endmodule$"]}] |
SWH-mined examples (0)
No archived examples for .k in our local mirror yet.