.for
3 claimants
2 primary
1 secondary
shared primary (2)
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.
Case variants in archive: .for (127.6K), .FOR (21.9K), .For (40), .foR (1) — aggregated above.
Claimants (4)
Languages that list .for among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
| Language | Source | Strength |
| Formatted | linguist | primary |
| fortran | wikidata | primary |
| Forth | linguist | secondary |
| fortran | linguist | secondary |
Wikidata says… (1)
File formats, image formats, audio codecs and other non-PL
entities that claim .for 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.
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a .for file actually is.
| Rule | Predicts | Kind | Predicates (truncated) |
h/linguist/.for/0 | Forth | predicates | [{"kind": "any", "regexes": ["^: "]}] |
h/linguist/.for/1 | fortran | predicates | [{"kind": "any", "regexes": ["^(?i:[c*][^abd-z]| (subroutine|program|end|data)\\s|\\s*!)"]}] |
SWH-mined examples (2)
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.
swh:1:cnt:26bb85f1f62268ad503835ca29a3321d542c13f1;origin=https://github.com/gklimowicz/FCVS;anchor=swh:1:rev:54136841d6a84c1e8403b9423b6ab0fbbb49d1e6;path=/FM251.FOR
swh:1:cnt:7ecbaeb6ceb72c18f8f5b8a4660d36a8703937ba;origin=https://github.com/gklimowicz/FCVS;anchor=swh:1:rev:54136841d6a84c1e8403b9423b6ab0fbbb49d1e6;path=/FM254.FOR