IelrFig1_prec grammar
Sections
Precedences
Tokens
Non-terminals
- start S
- First: [Ta; Tb]
- Follow: [“⊥”]
- Productions
- start S'
- First: [Ta; Tb]
- Follow: [“ε”]
- Productions
- nonterm A
- First: [Ta]
- Follow: [Ta; Tb]
- Productions
LR(1) States
- State 0
- Kernel
- Added
- Actions
- Ta : ShiftPrefix 1 prec p
- Tb : ShiftPrefix 2
- Gotos
- State 1
- Kernel
- Added
- Actions
- Ta : ShiftPrefix 4 prec p
- Gotos
- State 2
- Kernel
- Added
- Actions
- Ta : ShiftPrefix 6 prec p
- Gotos
- State 3
- State 4
- State 5
- Kernel
- Actions
- Ta : ShiftAccept 10 prec p
- State 6
- State 7
- State 8
- State 9
- State 10
- State 11
- State 12