BACKUS-NAUR FORMThe Backus-Naur play , which is also called the BNF , the Backus Normal Form and or the Backus-Naur craft , is a notation utilise in the of a detect going of syntax of sentences of a language . In around 1959 , the Backus-Naur Form was suggested by conjuration Backus , a constituent or piece of the thirteen members which comprise the Algol 60 committee except , John Backus , be founts from being a constituent of IBM , is also a major figure responsible for FORTRANThe Backus-Naur Form , has been used since then(prenominal) to describe the syntax of br Algol 60 . The BNF along pro specificationt its extensions have become standard tools for describing the syntax of programming notations , and in many cases parts of compliers are generated automatically from a BNF (Gries , 1981 . The spec of the Backus-N aur Form includes a set of derivation rules . This set of passing rules are written as . The in this formula is considered to be nonterminal . The sequences of tokens create the entire expression . Furthermore , sequences separated by a vertical bar , may also yammer the expression . The sign is made use of in to eye socket point out a definite choice . structure which are not found on the left side , are considered to be terminalsIn the present , Backus-Naur Form specifications are created in a form which it is easily read by gentleman and often , they are informal including certain syntax rules and extensions (Bergin , 1996 .
syntax rules and extensions differentia! te that optional points should be enclosed in self-colored brackets , same(p) in [] and that events which repeat or occur 0 or more times should be enclosed in kinky brackets , such as in While , items which repeat or occur 1 or more times should be followed using a Syntax rules and extension also intermit that the non-terminals should be written or typed using plain schoolbook , instead of using italics and angle brackets . While the terminals appear in bold . Optional choices in a production should be separated through the use of the vertical bar figure , like in If an item in the Backus-Naur Form is fall apart , an asterisk should be placed after the item and that unbiased parenthesis are used , by enclosing the item , to group the items (Chomsky , 1957ReferencesBergin , T . J Gibson , R . G (1996 . level of Programming Languages New York : Academic PressChomsky , N (1957 . Syntactic Structures . mouton : The HagueGries , D (1981 . The Science of Progr amming : Springer-Verlag BACKUS-NAUR FORM Page rapscallion \ MERGEFORMAT 2...If you compliments to get a full essay, order it on our website: BestEssayCheap.com
If you want to get a full essay, visit our page: cheap essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.