BNF and EBNF What is BNF? It stands for Backus-Naur Form It is a playal, mathematical way to specify context-free grammars It is diminutive and unambiguous Before BNF, concourse specified programming languages ambiguously, i.e., with side How did BNF come near? crapper Backus presented a overbold annotating containing most of the elements of BNF at a UNESCO conference His presentation was about Algol 58 beam Naur fill this report and found that he and Backus interpreted Algol differently He cherished even to a greater extent precision So he created what we now jazz as BNF for Algol 60 Thus BNF was first published in Algol 60 Report Who was John Backus? Backus invented FORTRAN (FORMula TRANslator), the first high-altitude language ever, circa 1954 Major influence on the invention of utilitarian programming in 1970s Won the 1977 Turing introduce for BNF and FORTRAN Who was Peter Naur? Danish astronomer turned comp uter scientist Born in 1928; picture on left is from 1968 A Bit much History BNF originally stood for Backus Normal Form In 1964, Donald Knuth wrote a letter published in Communications of the ACM in which he suggests it stand for Backus-Naur category instead This was for two reasons: To recognize Naurs contribution BNF is not technically a normal form; this would imply that there would be hardly one adjust way of writing a grammar What does BNF look interchangeable?
resembling this: ::= | ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ::= pisseds is outline as (some variants use := instead) | m eans or Angle brackets mean a nonterminal ! Symbols without angle brackets are terminals More BNF Examples ::= while ( ) ::= = ::= | ::= | BNF for Expressions ::= + | - | ::= * | / | ::= ^ | ::= | ::= ( ) | | credit line of EBNF Stands for lengthened Backus-Naur Form After BNF appeared with Algol 60, lots of...If you want to brace 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.