lr-but-not-lalr.mly 116 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
%token A B C D F
%type <unit> s
%start s

%%

s:
  A e C {}
| A f D {}
| B e D {}
| B f C {}

e:
  F {}

f:
  F {}