for
Context-free Grammars
A. Senthil - Professor/CSE 1
, Chomsky Normal Form
Each productions has form:
A BC or A a
variable variable terminal
A. Senthil - Professor/CSE 2
, Examples:
S AS S AS
S a S AAS
A SA A SA
A b A aa
Chomsky Not Chomsky
Normal Form Normal Form
A. Senthil - Professor/CSE 3