Extended BNF Notation

EBNF consists of terminal symbols (literals) and non-terminal production rules (variables).

Here is an example:

extended-bnf-example

Here are what its notations mean:

References

https://en.wikipedia.org/wiki/Extended Backus%E2%80%93Naur Form

http://www.ietf.org/rfc/rfc1806.txt