BNF: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (Text replace - "jbocre: ([A-K])" to "$1")
m (Conversion script moved page BNF to bNF: Converting page titles to lowercase)
(No difference)

Revision as of 08:08, 30 June 2014

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.