E -> T E -> E + T T -> i T -> ( E ) T -> i [ E ]
Stack :
Input : i [ i ]
Action : shift
Stack :
i |
Input : [ i ]
Action : goto
Stack :
i |
Input : [ i ]
Action : conflict shift/reduce
The example on this page is auto-generated with dOvs teaching LR parser generator tool. The tool and the webpage is maintained by Aslan Askarov.