Send Close Add comments: (status displays here)
Got it!  This site "robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
EBNF in EBNF
by RS  admin@robinsnyder.com : 1024 x 640


1. EBNF in EBNF
EBNF (Extended Backus-Naur Form) and BNF (Backus-Naur Form) are notations (meta-language) for describing other languages (including EBNF itself). Here is a syntax diagram of EBNF that describes EBNF.
Syntax diagram for EBNF

2. EBNF textual grammar

Syntax = { Production } . Production = "Variable" "=" Expression "." . Expression = Term { "|" Term } . Term = Factor { Factor } . Factor = "Terminal" | "Variable" | "[" Expression "]" | "{" Expression "}" | "(" Expression ")" .


3. BNF textual grammar

Syntax = X1 . X1 = . X1 = Production X1 . Production = "Variable" "=" Expression "." . Expression = Term X2 . X2 = . X2 = "|" Term X2 . Term = Factor X3 . X3 = . X3 = Factor X3 . Factor = X4 . X4 = "Terminal" . X4 = "Variable" . X4 = "[" Expression "]" . X4 = "{" Expression "}" . X4 = "(" Expression ")" .


4. End of page

by RS  admin@robinsnyder.com : 1024 x 640