1. Known grammar:
S->a|^|(T)
T->T,S|S
Analysis sentence (T, (^, a)), find all phrases, phrases and handle directly.
2. The context-free grammar structure description language:
{anbn|n>=0}
{ambn|m>=n>=0}
The if statement
1. Known grammar:
S->a|^|(T)
T->T,S|S
Analysis sentence (T, (^, a)), find all phrases, phrases and handle directly.
2. The context-free grammar structure description language:
{anbn|n>=0}
{ambn|m>=n>=0}
The if statement