.sc
8 claimants
2 primary
6 secondary
shared primary (2)
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.
704.0K
total files
307.9K
first seen 2021–2025 (43.7%)
2020
median year (half its files since)
Case variants in archive: .sc (701.6K), .SC (2.4K), .Sc (22) — aggregated above.
Attribution status
This extension is attributed to Scala; SuperCollider as primary by 3 authoritative claims.
Claimants (10)
Languages that list
.sc among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Scala | wikidata | primary |
| SuperCollider | linguist | primary |
| SuperCollider | pygments | primary |
| bazel | pygments | secondary |
| py | pygments | secondary |
| Python | pygments | secondary |
| Python (programming language) | pygments | secondary |
| Sage | pygments | secondary |
| Scala | linguist | secondary |
| Starlark | pygments | secondary |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim
.sc 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 |
|---|---|---|---|---|---|
| sc Spreadsheet Calculator spreadsheet Q105852762 file format | file format | — | text/plain | — | Use as new PL ↗ |
| SuperCollider Class Q105852021 file format | file format | — | text/plain; application/supercollider; text/supercollider | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.sc file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.sc/0 | SuperCollider | predicates | [{"kind": "any", "regexes": ["(?i:\\^(this|super)\\.|^\\s*~\\w+\\s*=\\.)"]}] | |
h/linguist/.sc/1 | Scala | predicates | [{"kind": "any", "regexes": ["(^\\s*import (scala|java)\\.|^\\s*class\\b)"]}] |
SWH-mined examples (0)
No archived examples for .sc in our local mirror yet.