1. lexical analysis:
it scans the source code of CFG and load the grammer to the symbol table. If ther is
any error in CFG it just report & halts down.
2. FindRulePrecedences:
Find precedence of symbols & set it
3. FirstSet:
compute FIRST(X):
a. If X is a terminal, then FIRST(X) = {X}
b. X is a nonterminal, travel all production of X until find first terminal .
4. Construct Parse Stack
5. Convert backward propagation link to forward link
6. FollowSet
7. ComputeAction table
8. Compress action table
9. ReportState
10.ReportFileoutput
11. GenerateCFGEngine2C Language