.b
5 claimants
3 primary
2 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.
238.6K
total files
101.5K
first seen 2021–2025 (42.5%)
2020
median year (half its files since)
Case variants in archive: .b (210.1K), .B (28.4K) — aggregated above.
Attribution status
This extension is attributed to B; Brainfuck; Limbo as primary by 5 authoritative claims.
Claimants (9)
Languages that list
.b among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| B | linguist | primary |
| Brainfuck | linguist | primary |
| Brainfuck | wikidata | primary |
| Limbo | linguist | primary |
| Limbo | pygments | primary |
| Beef | pygments | secondary |
| Brainfuck | pygments | secondary |
| HyPhy | pygments | secondary |
| B | wikipedia | proposed |
Wikidata says… (14)
File formats, image formats, audio codecs and other non-PL
entities that claim
.b 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 |
|---|---|---|---|---|---|
| Applause II Batch (v2.0) Q105858605 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
| B Source Code File Q117448918 file format | file format | — | — | — | Use as new PL ↗ |
| BundleFile Q105858725 file format | file format | — | — | — | Use as new PL ↗ |
Disambiguation rules (3)
Linguist heuristics that decide, by content, which language a
.b file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.b/0 | B | predicates | [{"kind": "any", "regexes": ["^\\s*(?:extrn|auto|goto)\\b"]}, {"kind": "not_any", "regexes": ["^\\s*(?:implement|include|load|ref)\\b"]}] | |
h/linguist/.b/1 | Brainfuck | predicates | [{"kind": "any", "regexes": ["(>\\+>|>\\+<)"]}] | |
h/linguist/.b/2 | Limbo | predicates | [{"kind": "any", "regexes": ["(?:^\\w+\\s*:\\s*module\\s*\\{)|(implement \\w+;)"]}] |
SWH-mined examples (0)
No archived examples for .b in our local mirror yet.