.t

7 claimants 4 primary 2 secondary shared primary (4)

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

3.1M
total files
546.4K
first seen 2021–2025 (17.6%)
2015
median year (half its files since)

Case variants in archive: .t (3.1M), .T (37.9K) — aggregated above.

Attribution status

This extension is attributed to Raku; Terra; TOM; Turing as primary by 4 authoritative claims.

Authoritative sources: ✓ Linguist △ Pygments · secondary ✓ Wikidata · Q2052676 △ Wikipedia · secondary

Disagree or have a correction? Open a labelling issue.

Claimants (11)

Languages that list .t among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Rakuwikidataprimary
Terralinguistprimary
TOMwikidataprimary
Turinglinguistprimary
Perllinguistsecondary
Perlpygmentssecondary
Rakulinguistsecondary
Rakupygmentssecondary
Raku (programming language)pygmentssecondary
Perlwikipediaproposed
TMGwikipediaproposed

Wikidata says… (2)

File formats, image formats, audio codecs and other non-PL entities that claim .t 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.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
E-Tracker chiptune Q105858365
file format
file format—audio/x-mod—Use as new PL ↗
TADS 3 Game Q105851215
file format
file format—application/x-t3vm-image—Use as new PL ↗

Disambiguation rules (3)

Linguist heuristics that decide, by content, which language a .t file actually is.
RulePredictsKindPredicates (truncated)Measured on SWH
h/linguist/.t/0Perlpredicates[{"kind": "not_any", "regexes": ["^\\s*use\\s+v6\\b"]}, {"kind": "any", "regexes": ["\\buse\\s+(?:strict\\b|v?5\\b)", "^\\s*use\\s+(?:constant|overload)\\b", "^\\s*(?:\\*|(?:our\\s*)?@)EXPORT\\s*=", "
h/linguist/.t/1Rakupredicates[{"kind": "any", "regexes": ["^\\s*(?:use\\s+v6\\b|\\bmodule\\b|\\bmy\\s+class\\b)"]}]
h/linguist/.t/2Turingpredicates[{"kind": "any", "regexes": ["^\\s*%[ \\t]+|^\\s*var\\s+\\w+(\\s*:\\s*\\w+)?\\s*:=\\s*\\w+"]}]

SWH-mined examples (2)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
Perl (2) — 2 via Linguist heuristic
resultset_overload.t · 543 B · seen 1858× in SWH
predicted: Perl via heuristic
swh:1:cnt:c5ecce87432c6b1e8465269cb9b15902fe0dc302;origin=https://github.com/st3fan/osx-10.9;anchor=swh:1:rev:9f8135f87c2ba27b1e76a514464b823812effd45;path=/CPANInternal-140/DBIx-Class/t/resultset_overload.t
Open in SWH · Raw bytes
82cascade_copy.t · 742 B · seen 1360× in SWH
predicted: Perl via heuristic
swh:1:cnt:5f8a542ec72e10adf0a8a65206139081baffdc20;origin=https://github.com/st3fan/osx-10.9;anchor=swh:1:rev:9f8135f87c2ba27b1e76a514464b823812effd45;path=/CPANInternal-140/DBIx-Class/t/82cascade_copy.t
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .t is, request a fresh mining run.
(or open the pre-filled issue directly)