.p

9 claimants 8 primary 1 secondary shared primary (8)

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.

5.0M
total occurrences
1.7M
since 2019 (33.5%)
1978–2023
years active

Case variants in archive: .p (4.7M), .P (271.9K) — aggregated above.

Attribution status

This extension is attributed to Apex; GNU Octave; ObjectScript; OpenEdge ABL; OpenEdge ABL; P; Pascal; Pawn; Pawn; Prolog as primary by 10 authoritative claims.

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

Disagree or have a correction? Open a labelling issue.

Claimants (11)

Languages that list .p among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Apexpygmentsprimary
GNU Octavewikidataprimary
ObjectScriptpygmentsprimary
OpenEdge ABLlinguistprimary
OpenEdge ABLpygmentsprimary
Pwikidataprimary
Pascalwikidataprimary
Pawnpygmentsprimary
Pawnwikidataprimary
Prologwikidataprimary
Gnuplotlinguistsecondary

Wikidata says… (5)

File formats, image formats, audio codecs and other non-PL entities that claim .p 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
Img Software Set Colormapped Image Q28206318
file format
file formatUse as new PL ↗
OpenEdge ABL source code file Q130404774
file format
file formatapplication/x-openedge; text/x-openedgeUse as new PL ↗
Pascal script Q34284437
file format
file formatUse as new PL ↗

Disambiguation rules (2)

Linguist heuristics that decide, by content, which language a .p file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.p/0Gnuplotpredicates[{"kind": "any", "regexes": ["^s?plot\\b", "^set\\s+(term|terminal|out|output|[xy]tics|[xy]label|[xy]range|style)\\b"]}]
h/linguist/.p/1OpenEdge ABLpredicates[{"kind": "any", "regexes": ["(?i)\\bDEFINE\\s+(?:VARIABLE|TEMP-TABLE|BUFFER|QUERY|INPUT\\s+PARAMETER|OUTPUT\\s+PARAMETER)\\b", "(?i)\\bEND(?:\\s+(?:PROCEDURE|FUNCTION|DO|FOR\\s+EACH))?\\."]}]

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.
nessus_translator.P · 2310 B · seen 42× in SWH
predicted: unclassified via fallback
swh:1:cnt:8bd0acb72f6634648a52b82f1a345ca1ed7d9c77;origin=https://github.com/risksense/mulval;anchor=swh:1:rev:369f7484ea5263074f70464a7fada98b6e546df6;path=/src/adapter/nessus_translator.P
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .p is, request a fresh mining run.
(or open the pre-filled issue directly)