.scm
7 claimants
4 primary
0 secondary
shared primary (4)
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.
1.7M
total occurrences
281.4K
since 2019 (16.4%)
1970–2023
years active
Case variants in archive: .scm (1.7M), .SCM (206), .Scm (7), .scM (1) — aggregated above.
Attribution status
This extension is attributed to PLT Scheme; Scheme; Scheme; Scheme; SCM; Tree-sitter Query; Tree-sitter Query as primary by 7 authoritative claims.
Claimants (10)
Languages that list
.scm among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| PLT Scheme | wikidata | primary |
| Scheme | linguist | primary |
| Scheme | pygments | primary |
| Scheme | wikidata | primary |
| SCM | pygments | primary |
| Tree-sitter Query | linguist | primary |
| Tree-sitter Query | pygments | primary |
| CHICKEN | wikipedia | proposed |
| GNU Guile | wikipedia | proposed |
| SXML | wikipedia | proposed |
Wikidata says… (4)
File formats, image formats, audio codecs and other non-PL
entities that claim
.scm 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 |
|---|---|---|---|---|---|
| GIMP Script-Fu Script Q105851939 file format | file format | — | — | — | Use as new PL ↗ |
| Samsung TV channels list Q105851672 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
| Scheme script Q34305425 file format | file format | — | application/x-scheme; text/x-scheme | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.scm file actually is.| Rule | Predicts | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.scm/0 | Tree-sitter Query | predicates | [{"kind": "any", "regexes": ["\\(#[\\w-]+[!\\?]", "(?:[\\)\\]]\\s*[\\*\\+\\?](?:\\s|$))", "(?:^\\s*\\w+:\\s*[\\(\\[\\\"])", "\\(#(?:set!|(?:not-)?(?:any-of|match)\\?)", "@[\\w.-]+(?:\\)\\s|$)"]}, {"ki |
h/linguist/.scm/1 | Scheme | predicates | [{"kind": "any", "regexes": ["(?:'[\\(\\*#]|\\w->\\w|\\.\\.\\.[\\s\\)]|\\([+\\-:<>\\/=~\\)]|~>|[#`]\\(|#:\\w)", "^\\s*\\((?:define\\*?|import|library|lambda)"]}, {"kind": "not_any", "regexes": ["\\(#[ |
SWH-mined examples (0)
No archived examples for .scm in our local mirror yet.