.inc

14 claimants 1 primary 12 secondary unambiguous primary

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.

7.4M
total files
1.5M
first seen 2021–2025 (21.0%)
2016
median year (half its files since)

Case variants in archive: .inc (7.3M), .INC (67.4K), .Inc (8.4K), .inC (2) — aggregated above.

Attribution status

This extension is attributed to Pawn as primary by 1 authoritative claim.

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

Disagree or have a correction? Open a labelling issue.

Claimants (22)

Languages that list .inc among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Pawnwikidataprimary
Assemblylinguistsecondary
BitBakelinguistsecondary
BitBakepygmentssecondary
C++linguistsecondary
Hackpygmentssecondary
HTMLlinguistsecondary
Motorola 68K Assemblylinguistsecondary
NASLlinguistsecondary
NASLpygmentssecondary
Pascallinguistsecondary
Pawnlinguistsecondary
Pawnpygmentssecondary
PHPlinguistsecondary
PHPpygmentssecondary
POV-Ray SDLlinguistsecondary
POV-Ray SDLpygmentssecondary
POV-Ray SDLwikidatasecondary
SourcePawnlinguistsecondary
SourcePawnpygmentssecondary
SQLlinguistsecondary
ASMwikipediaproposed

Wikidata says… (3)

File formats, image formats, audio codecs and other non-PL entities that claim .inc 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
Fortran include file Q111721962
file format
file format———Use as new PL ↗
Pascal script Q34284437
file format
file format———Use as new PL ↗
POV-Ray scene description Q29650311
file format for 3D models and scene descriptions
file format—model/x-pov; text/x-povray—Use as new PL ↗

Disambiguation rules (8)

Linguist heuristics that decide, by content, which language a .inc file actually is.
RulePredictsKindPredicates (truncated)Measured on SWH
h/linguist/.inc/0Motorola 68K Assemblypredicates[{"kind": "any", "regexes": ["(?im)\\bmoveq(?:\\.l)?\\s+#(?:\\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\\s*d[0-7]\\b", "(?im)^\\s*move(?:\\.[bwl])?\\s+(?:sr|usp),\\s*[^\\s]+", "(?im)^\\s*move\\.[bwl
h/linguist/.inc/1PHPpredicates[{"kind": "any", "regexes": ["^<\\?(?:php)?"]}]
h/linguist/.inc/2SourcePawnpredicates[{"kind": "any", "regexes": ["^public\\s+(?:SharedPlugin(?:\\s+|:)__pl_\\w+\\s*=(?:\\s*\\{)?|(?:void\\s+)?__pl_\\w+_SetNTVOptional\\(\\)(?:\\s*\\{)?)", "^methodmap\\s+\\w+\\s+<\\s+\\w+", "^\\s*MarkNat
h/linguist/.inc/3NASLpredicates[{"kind": "any", "regexes": ["^\\s*include\\s*\\(\\s*(?:\"|')[\\\\/\\w\\-\\.:\\s]+\\.(?:nasl|inc)\\s*(?:\"|')\\s*\\)\\s*;", "^\\s*(?:global|local)_var\\s+(?:\\w+(?:\\s*=\\s*[\\w\\-\"']+)?\\s*)(?:,\\s*
h/linguist/.inc/4POV-Ray SDLpredicates[{"kind": "any", "regexes": ["^\\s*#(declare|local|macro|while)\\s"]}]
h/linguist/.inc/5Pascalpredicates[{"kind": "any", "regexes": ["(?i:^\\s*\\{\\$(?:mode|ifdef|undef|define)[ ]+[a-z0-9_]+\\})", "^\\s*end[.;]\\s*$"]}]
h/linguist/.inc/6BitBakepredicates[{"kind": "any", "regexes": ["^inherit(\\s+[\\w.-]+)+\\s*$"]}]
h/linguist/.inc/7Assemblypredicates[{"kind": "any", "regexes": ["^(?i)[^\"m]*mov\\s+[^\\s]+,", "^\\s+(?i)db\\s+[a-z\\d]"]}]

SWH-mined examples (1)

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.
unclassified (1) — 1 via fallback
effectinfo_ctf.inc · 3686 B · seen 465× in SWH
predicted: unclassified via fallback
swh:1:cnt:5794ad4773e66b0d7b31460f8b6991f9ea12a1d0;origin=https://github.com/xonotic/xonotic-data.pk3dir;anchor=swh:1:rev:387a1dc59f9c7ad516ad736e91280beecc8fd082;path=/qcsrc/common/effects/effectinfo_ctf.inc
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .inc is, request a fresh mining run.
(or open the pre-filled issue directly)