BNF: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (Gleki moved page bNF to BNF over a redirect without leaving a redirect)
No edit summary
 
Line 1: Line 1:


[http://burks.brighton.ac.uk/burks/foldoc/82/9.htm Backus-Naur form], a human-reader friendly convention for writing [[Context Free Grammars|Context Free Grammars]]. It incorporates notations for things like optionality and repetition, which are strictly speaking redundant (and so omitted from [[YACC|YACC]] notation), but which humans like to see. In (one of) its [http://burks.brighton.ac.uk/burks/foldoc/50/39.htm 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.
[http://burks.brighton.ac.uk/burks/foldoc/82/9.htm 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|YACC]] notation), but which humans like to see. In (one of) its [http://burks.brighton.ac.uk/burks/foldoc/50/39.htm 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.
There are easily dozens of different 'Extended' BNFs, btw.

Latest revision as of 06:48, 22 July 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.