github-linguist/linguist

W3C BNF

Open

#5 590 ouverte le 10 oct. 2021

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Ruby (5 166 forks)batch import
Add LanguageGood First Issue

Métriques du dépôt

Stars
 (13 466 stars)
Métriques de merge PR
 (Merge moyen 102j 5h) (19 PRs mergées en 30 j)

Description

Language name

Some variants of Backus-Naur Form (BNF) are already supported. As noted in #3075, there are significant difference between ISO EBNF and W3C EBNF. Only the former is properly supported yet.

Side note: the latter should really be known as “WEBNF”. Missed opportunities.

URL of example repository

Specs and issues in @w3c use EBNF frequently.

URL of syntax highlighting grammar

— (VDS)

Most popular extensions

—, .ebnf and .bnf probably.

Files with only formal grammar in them are rare. Code blocks in Markdown/GFM are way more common.

Detected language

ISO EBNF

Guide contributeur