BNF vs EBNF vs ABNF: which to choose?

You have to think about EBNF and ABNF as extensions that help you just to be more concise and expressive while developing your grammars. For example think about an optional non-terminal symbol, in a BNF grammar you would define it by using intermediate symbols like: A ::= OPTIONAL OTHER OPTIONAL ::= opt_part | epsilon while … Read more