April 2015
Intermediate to advanced
482 pages
11h 42m
English
In this chapter, we will discuss (1) context free grammar, (2) Language, (3) derivation tree, (4) leftmost derivation and (5) rightmost derivation. We also discuss ambiguous grammars, simplification of grammars and normal forms.
For a regular grammar, the productions are restricted in two ways: the left side must be a single variable, while the right side can be any string of terminals and non-terminals. To create grammars that are very powerful, we must ease off some of the restrictions. ...
Read now
Unlock full access