Parser Table

Grammar

start ::= expr all start: value
-root-0 ::= start  all start: value
expr ::= value all start: value
| expr plus expr all start: value plus value

Non Terminals

Non terminalEpsilonFirstResultLastResultFollowResult
startfalse
First(expr)
value
Last(expr)
value
__eof__
__eof__
-root-0false
First(start)
value
exprfalse
value
value
value
value
Follow(start)
plus
plus
__eof__

Start States

Non terminalStart State
startstate0

States

state0 - state 0:

Compatible versions : DEFAULT

Kernel itemsActions Gotoes
-root-0 ::= • start 
value: shift to state1
start:state2
expr:state4

state1 - state 0: value

Compatible versions : DEFAULT

Kernel itemsActions
expr ::= value •
plus: reduce by expr ::= value
__eof__: reduce by expr ::= value
branch: reduce by expr ::= value

state2 - state 0: value

Compatible versions : DEFAULT

Kernel itemsActions
-root-0 ::= start • 
__eof__: accept
branch: exit exit

state3 - state 0: value ␄

Compatible versions : DEFAULT

Kernel itemsActions
-root-0 ::= start  •
__eof__: accept
branch: exit exit

state4 - state 0: value

Compatible versions : DEFAULT

Kernel itemsActions
expr ::= expr • plus expr
start ::= expr •
plus: shift to state5
__eof__: reduce by start ::= expr
branch: reduce by start ::= expr

state5 - state 0: value plus

Compatible versions : DEFAULT

Kernel itemsActions Gotoes
expr ::= expr plus • expr
value: shift to state1
expr:state6

state6 - state 0: value plus value

Compatible versions : DEFAULT

Kernel itemsActions
expr ::= expr plus expr •
expr ::= expr • plus expr
plus: shift to state5,reduce by expr ::= expr plus expr
__eof__: reduce by expr ::= expr plus expr
branch: reduce by expr ::= expr plus expr

Valid XHTML 1.1