IT lexicon › Programming › Backus-Naur Form

Backus-Naur Form

Programming På svenska → Updated: 2026-11-12

Formal notation for describing syntax in programming languages, developed for ALGOL 60 and standard in compiler design.

John Backus and Peter Naur presented BNF in 1959 as a way to precisely specify ALGOL 60's grammar. A rule is written as <symbol> ::= alternative1 | alternative2, enabling mechanical parsing. BNF quickly became the tool for documenting all programming languages and forms the foundation for tools like Yacc and Lex.

← Back to the lexicon