Design and analysis of predictive analysis algorithm
no vote
Through the design and implementation of predictive analysis algorithm, we can deepen the understanding of top-down parsing methods, especially the understanding of top-down parsing conditions. Input grammar and input string to be analyzed, and output its prediction analysis process and results. &To judge the left recursion of grammar and convert the left recursion grammar into non left recursion grammar. The first set and follow set are obtained according to the grammar. Structure prediction analysis table.