SLR Parsing Example

id + ( ) $ P E T
0        
1        
2        
3        
4        
5        
6        
7        
8        
  1. P -> E
  2. E -> E + T
  3. E -> T
  4. T -> id (E)
  5. T -> id