.mojo
2 claimants
1 primary
1 secondary
unambiguous primary
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.
125.7K
total files
99.1K
first seen 2021–2025 (78.8%)
2024
median year (half its files since)
Case variants in archive: .mojo (125.7K), .MOJO (7), .Mojo (2) — aggregated above.
Attribution status
This extension is attributed to Mojo as primary by 3 authoritative claims.
Claimants (4)
Languages that list
.mojo among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Mojo | linguist | primary |
| Mojo | pygments | primary |
| Mojo | wikidata | primary |
| xml | linguist | secondary |
Wikidata says… (1)
File formats, image formats, audio codecs and other non-PL
entities that claim
.mojo 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.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Mojo source code file Q127803507 file format | file format | — | application/x-mojo; text/x-mojo | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.mojo file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.mojo/0 | Mojo | predicates | [{"kind": "any", "regexes": ["^\\s*(alias|def|from|fn|import|struct|trait)\\s"]}] | |
h/linguist/.mojo/1 | xml | predicates | [{"kind": "any", "regexes": ["^\\s*<\\?xml"]}] |
SWH-mined examples (0)
No archived examples for .mojo in our local mirror yet.