github-linguist / github-linguist/linguist

W3C BNF

Open
#5,590 2 comments 0 reactions 0 assignees View on GitHub
Add Language Good First Issue
Dominant language
Ruby
Stars
13.7k
Forks
5.4k
Avg merge
1d 15h
Merged PRs (30d)
17

Description

## Language name
Some variants of Backus-Naur Form (BNF) are already supported.
As noted in [#3075](https://github.com/github/linguist/issues/3075#issuecomment-314835300), 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](https://drafts.csswg.org/css-values/#value-defs))

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.