Description: (1) E-> E+ T (2) E-> T (3) T-> T* E (4) T-> F (5) F-> (E) (6) F-> i simulation of the above LR grammar analysis. Any input string the user can work out the process of LR parser. According to the above grammar, generate LR analysis table, use the VC language LR parser. Main function accepts user keyboard input string, called LR function through the analysis of the output process of LR.
To Search:
File list (Check if you may need any files):
LRAnalysis.doc
LRAnalysis.cpp