.g4
1 claimant
1 primary
0 secondary
unambiguous primary
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.
Case variants in archive: .g4 (289.9K), .G4 (351) — aggregated above.
Claimants (1)
Languages that list .g4 among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
| Language | Source | Strength |
| ANTLR | linguist | primary |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim .g4 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.
SWH-mined examples (1)
Real archived programs with this extension, byte-verified against the SWH archive. Useful for deciding what this extension actually is when the attribution is uncertain.
swh:1:cnt:ff407232577a56eabdc19765891a0201b640ba12;origin=https://github.com/HanzoDev1375/Ghostide;anchor=swh:1:rev:d17e8d7d703a0bb603464be365e4d690367ebdf3;path=/grammars-v4/css3Lexer.g4