Embed presentation
Downloaded 29 times











This document provides an introduction to Bakus-Naur Form (BNF), which is a formal way to describe the grammar of a language using production rules. It explains that BNF describes the allowable symbols and structure of a language without ambiguity. Production rules use symbols and define each symbol in terms of subsymbols or terminals. Terminals cannot be broken down further. An example BNF grammar for fractional numbers is provided. The document also challenges the reader to create a BNF for UK postcodes and mentions syntax diagrams as an alternative notation.










