Penguin

Differences between current version and revision by previous author of BNF.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 2 Last edited on Saturday, August 23, 2003 9:56:54 am by AristotlePagaltzis
Older page: version 1 Last edited on Sunday, August 10, 2003 3:08:35 pm by PerryLorier Revert
@@ -1,28 +1,3 @@
-[Acronym] for Backus Naur Form
+An [Acronym] for __B__ackus-__N__aur __F__orm
  
-This is a way of specifying the syntax of a "langauge" . Example:  
-  
- <sentance> ::= <verb-part> <noun-part>  
-  
- <verb-part> ::= <noun-part> <verb>  
-  
- <noun-part> ::= <proper-noun>  
- | THE <noun>  
-  
- <verb> ::= throws  
- | kicks  
- | hides  
- | fetches  
-  
- <proper-noun> ::= John  
- | Jane  
-  
- <noun> ::= ball  
- ::= dog  
-  
-This would accept sentances such as  
- John kicks the dog  
- Jane throws the ball  
- The dog fetches the ball  
-  
-There are usually several extensions to [BNF] which are often used, often called "EBNF". EBNF has "..." for "1 or more" and "[[ ]" for optional  
+See BackusNaurForm