A finite collection of rules which tell us whether certain strings or sentences are grammatical or not. A grammar is context free if it is in the form of:
- is the grammar
- is a variable or Non-terminal
- is a Terminal
A finite collection of rules which tell us whether certain strings or sentences are grammatical or not. A grammar is context free if it is in the form of: G→(V∪T)∗,G∈V