In BNF, You Define A Language By Writing A Set Of Definitions Called Rules Or ______________________, Each Of Which Describing The Structure Of A Language Construct, E.g., An Assignment Statement. Which Of The Followings Is An Incorrect Statement About Th

匿名用户 最后更新于 2021-11-29 17:10 计算机类Computing

In BNF, you define a language by writing a set of definitionscalled rules or ______________________, each of whichdescribing the structure of a language construct, e.g., anassignment statement.

Which of the followings is an incorrect statement about theExtended BNF (EBNF)?

BNF has been extended in several ways to provide short-handnotations called ENBF.

EBNF enhances the descriptive, or expressive, power of BNF inthat it can express a language that cannot be expressed in BNF.

The most common extensions of EBNF include optional parts,repetitions, and alternatives.

An example EBNF rule is: -> {( | )}.

已邀请: