BNF

From Lojban
Revision as of 08:08, 30 June 2014 by Conversion script (talk) (Conversion script moved page BNF to bNF: Converting page titles to lowercase)
Jump to navigation Jump to search

Backus-Naur form, a human-reader friendly convention for writing Context Free Grammars. It incorporates notations for things like optionality and repetition, which are strictly speaking redundant (and so omitted from YACC notation), but which humans like to see. In (one of) its extended forms (E-BNF), used for a human-friendlier statement of the YACC formal grammar of Lojban. In cases of conflict, however, it is the YACC rather than the E-BNF form of the grammar that is considered canonical.

There are easily dozens of different 'Extended' BNFs, btw.