.bal

1 claimant 1 primary 0 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.

307.3K
total files
171.8K
first seen 2021–2025 (55.9%)
2021
median year (half its files since)

Case variants in archive: .bal (305.9K), .BAL (1.4K), .Bal (5), .bAL (1) — aggregated above.

Attribution status

This extension is attributed to Ballerina as primary by 2 authoritative claims.

Authoritative sources: ✓ Linguist ✗ Pygments · no claim ✓ Wikidata · Q51160183 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (2)

Languages that list .bal among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Ballerinalinguistprimary
Ballerinawikidataprimary

Wikidata says… (1)

File formats, image formats, audio codecs and other non-PL entities that claim .bal 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.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Red Sector Demo-Maker vector-ball object Q105858792
file format
file format—application/octet-stream—Use as new PL ↗

SWH-mined examples (2)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
Ballerina (2) — 2 via unique-primary
function-overloading.bal · 156 B · seen 106× in SWH
predicted: Ballerina via unique-primary
swh:1:cnt:2f75b94ec17f9f72fa0168a9ddba326c4671d1ec;origin=https://github.com/sanjiva/ballerina;anchor=swh:1:rev:8973f721a89d76449eb306fe376aaa816dc230aa;path=/tests/ballerina-unit-test/src/test/resources/test-src/functions/function-overloading.bal
Open in SWH · Raw bytes
sealed_record_literals.bal · 426 B · seen 72× in SWH
predicted: Ballerina via unique-primary
swh:1:cnt:a2abcd3be1ea8db4ee0e6c3475ce2fe29fdb264f;origin=https://github.com/sanjiva/ballerina;anchor=swh:1:rev:a7d397a529f0768ffb48f6cbcb6d7fbbe8795ebc;path=/tests/ballerina-unit-test/src/test/resources/test-src/record/sealed_record_literals.bal
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .bal is, request a fresh mining run.
(or open the pre-filled issue directly)