Define context-free grammar

The syntactic specification of a programming language can be formed by a notation called a context-free grammar, which is also called a BNF (Backus- Naur form ) description. Context-free grammars are capable of describing most, but not all, of the syntax of programming languages.

 

Leave a Reply