What Is Parsing: Parsing Is The Process of Analyzing An Input Sequence in Order
What Is Parsing: Parsing Is The Process of Analyzing An Input Sequence in Order
Picture from:
http://www.cs.usfca.edu/~parrt/course/652/lectures/grammar.hierarchy.gif
1. Simplify the grammar
● Transform a grammar in two ways:
– eliminate left recursion
– perform left factoring
and you have a LL(1) grammar