Some code to work with C productions
Do not work in case of errors
Add sentinel handling
Demo print SLR(1) reduce