init shiftreduce parsing