.pas

3 claimants 3 primary 0 secondary shared primary (3)

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.

5.8M
total files
1.4M
first seen 2021–2025 (23.8%)
2017
median year (half its files since)

Case variants in archive: .pas (5.6M), .PAS (135.4K), .Pas (1.3K), .PAs (1) — aggregated above.

Attribution status

This extension is attributed to Delphi; Pascal; PascalABC.NET as primary by 6 authoritative claims.

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

Disagree or have a correction? Open a labelling issue.

Claimants (6)

Languages that list .pas among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Delphipygmentsprimary
Delphiwikidataprimary
Pascallinguistprimary
Pascalpygmentsprimary
Pascalwikidataprimary
PascalABC.NETwikidataprimary

Wikidata says… (5)

File formats, image formats, audio codecs and other non-PL entities that claim .pas 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
Delphi Q4037189
programming language (dialect of Object Pascal, used in Embarcadero Delphi)
programming language; object-oriented programming———Use as new PL ↗
Pascal script Q34284437
file format
file format———Use as new PL ↗
Pascal unit file Q123693374
file format
file format———Use as new PL ↗

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.
unclassified (2) — 2 via fallback
arrays2.pas · 333 B · seen 2256× in SWH
predicted: unclassified via fallback
swh:1:cnt:d9122e8a2adc578130a43181eff6e674b0d9d4e2;origin=https://github.com/pascalabcnet/pascalabcnet;anchor=swh:1:rev:e6e67c193c17759ee72a42dce8c2e98784b1ca3a;path=/TestSuite/arrays2.pas
Open in SWH · Raw bytes
RBDMUtils.pas · 2195 B · seen 2228× in SWH
predicted: unclassified via fallback
swh:1:cnt:16d9306e3796192f288d337bcbf22cbf9cb8f497;origin=https://github.com/pascalabcnet/pascalabcnet;anchor=swh:1:rev:49378a6750a8ee31b5083e0a2f0876bc3e2aee4c;path=/bin/Lib/RBDMUtils.pas
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .pas is, request a fresh mining run.
(or open the pre-filled issue directly)