LR analysis program