.inc

14 claimants 1 primary 12 secondary unambiguous primary

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.

6.3M
total occurrences
906.1K
since 2019 (14.3%)
1970–2023
years active

Case variants in archive: .inc (6.3M), .INC (58.9K), .Inc (7.8K), .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-Raylinguistsecondary
POV-Raypygmentssecondary
POV-Raywikidatasecondary
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 formatUse as new PL ↗
Pascal script Q34284437
file format
file formatUse as new PL ↗
POV-Ray scene description Q29650311
file format for 3D models and scene descriptions
file formatmodel/x-pov; text/x-povrayUse as new PL ↗

Disambiguation rules (8)

Linguist heuristics that decide, by content, which language a .inc file actually is.
RulePredictsKindPredicates (truncated)
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-Raypredicates[{"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. Useful for deciding what this extension actually is when the attribution is uncertain.
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)