Backus–Naur form (source code)

= Backus–Naur form
{wiki=Backus–Naur_form}

Backus-Naur Form (BNF) is a formal notation used to specify the syntax of programming languages, data formats, and other formal grammars. It provides a way to express the rules and structure of a language in a concise and clear manner. BNF uses a set of derivation rules to define how symbols in the language can be combined to form valid strings.