.cp

4 claimants 2 primary 2 secondary shared primary (2)

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.

101.4K
total files
26.5K
first seen 2021–2025 (26.1%)
2017
median year (half its files since)

Case variants in archive: .cp (100.2K), .CP (1.0K), .cP (170), .Cp (31) — aggregated above.

Attribution status

This extension is attributed to Component Pascal; cp as primary by 3 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✗ Wikidata · no claim ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (6)

Languages that list .cp among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Component Pascallinguistprimary
Component Pascalpygmentsprimary
cppygmentsprimary
C++linguistsecondary
C++pygmentssecondary
cpppygmentssecondary

Wikidata says… (2)

File formats, image formats, audio codecs and other non-PL entities that claim .cp 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
Adobe Captivate project file Q137732420
file format
file format———Use as new PL ↗
Component Pascal source code file Q128775109
file format
file format—text/x-component-pascal—Use as new PL ↗

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
CPascalG.cp · 1583 B · seen 46× in SWH
predicted: unclassified via fallback
swh:1:cnt:cb3bbec5178392569ed41b548c5d138b9045526f;origin=https://github.com/k-john-gough/gpcp;anchor=swh:1:rev:2e681545b9cbe872297e2fe308ebcaab27ec5493;path=/gpcp/CPascalG.cp
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .cp is, request a fresh mining run.
(or open the pre-filled issue directly)