.ms
4 claimants
3 primary
1 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.
222.4K
total files
61.9K
first seen 2021–2025 (27.9%)
2019
median year (half its files since)
Case variants in archive: .ms (220.2K), .MS (2.2K), .Ms (4), .mS (2) — aggregated above.
Attribution status
This extension is attributed to MAXScript; MiniScript; Unix Assembly as primary by 5 authoritative claims.
Claimants (7)
Languages that list
.ms among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| MAXScript | linguist | primary |
| MAXScript | pygments | primary |
| MiniScript | linguist | primary |
| MiniScript | pygments | primary |
| Unix Assembly | pygments | primary |
| Roff | linguist | secondary |
| Unix Assembly | linguist | secondary |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim
.ms 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 |
|---|---|---|---|---|---|
| MegaStation module Q105862553 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
| MiniScript source code file Q130293828 file format | file format | — | application/x-miniscript; text/x-miniscript | — | Use as new PL ↗ |
Disambiguation rules (4)
Linguist heuristics that decide, by content, which language a
.ms file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.ms/0 | Roff | predicates | [{"kind": "any", "regexes": ["^[.'][A-Za-z]{2}(\\s|$)"]}] | |
h/linguist/.ms/1 | Unix Assembly | predicates | [{"kind": "not_any", "regexes": ["/\\*"]}, {"kind": "any", "regexes": ["^\\s*\\.(?:include\\s|globa?l\\s|[A-Za-z][_A-Za-z0-9]*:)"]}] | |
h/linguist/.ms/2 | MiniScript | predicates | [{"kind": "any", "regexes": ["^\\s*\\bend (?:function|while|if|for)\\b|\\s\\b(?:isa)\\b\\s"]}] | |
h/linguist/.ms/3 | MAXScript | default | [] |
SWH-mined examples (0)
No archived examples for .ms in our local mirror yet.