loom
1/* Пример грамматики LALR(1)
2https://stackoverflow.com/questions/6480634/examples-of-ll1-lr1-lr0-lalr1-grammars
3
4A -> C x A | ε
5B -> x C y | x C
6C -> x B x | z
7*/
8
9A = C "x" A | C "x";
10B = "x" C "y" | "x" C;
11C = "x" B "x" | "z";
12