Blame | Last modification | View Log | Download | RSS feed
Terminals which are not used:
ENDFILE
Grammar
Number, Line, Rule
1 65 file -> objects
2 68 objects -> objects object
3 69 objects -> object
4 73 object -> pin
5 78 pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING SPACE ASTRING SPACE ASTRING endline
6 88 netid -> ASTRING
7 89 netid -> /* empty */
8 92 endline -> CR
9 93 endline -> CR LF
10 94 endline -> LF
11 100 spaces -> spaces SPACE
12 101 spaces -> SPACE
Terminals, with rules where they appear
$ (-1)
error (256)
SPACE (257) 5 11 12
LF (258) 9 10
CR (259) 8 9
ENDFILE (260)
ASTRING (261) 5 6
Nonterminals, with rules where they appear
file (8)
on left: 1
objects (9)
on left: 2 3, on right: 1 2
object (10)
on left: 4, on right: 2 3
pin (11)
on left: 5, on right: 4
netid (12)
on left: 6 7, on right: 5
endline (13)
on left: 8 9 10, on right: 5
spaces (14)
on left: 11 12, on right: 5 11
state 0
ASTRING shift, and go to state 1
file go to state 23
objects go to state 2
object go to state 3
pin go to state 4
state 1
pin -> ASTRING . spaces ASTRING SPACE netid SPACE ASTRING SPACE ASTRING SPACE ASTRING endline (rule 5)
SPACE shift, and go to state 5
spaces go to state 6
state 2
file -> objects . (rule 1)
objects -> objects . object (rule 2)
ASTRING shift, and go to state 1
$default reduce using rule 1 (file)
object go to state 7
pin go to state 4
state 3
objects -> object . (rule 3)
$default reduce using rule 3 (objects)
state 4
object -> pin . (rule 4)
$default reduce using rule 4 (object)
state 5
spaces -> SPACE . (rule 12)
$default reduce using rule 12 (spaces)
state 6
pin -> ASTRING spaces . ASTRING SPACE netid SPACE ASTRING SPACE ASTRING SPACE ASTRING endline (rule 5)
spaces -> spaces . SPACE (rule 11)
SPACE shift, and go to state 8
ASTRING shift, and go to state 9
state 7
objects -> objects object . (rule 2)
$default reduce using rule 2 (objects)
state 8
spaces -> spaces SPACE . (rule 11)
$default reduce using rule 11 (spaces)
state 9
pin -> ASTRING spaces ASTRING . SPACE netid SPACE ASTRING SPACE ASTRING SPACE ASTRING endline (rule 5)
SPACE shift, and go to state 10
state 10
pin -> ASTRING spaces ASTRING SPACE . netid SPACE ASTRING SPACE ASTRING SPACE ASTRING endline (rule 5)
ASTRING shift, and go to state 11
$default reduce using rule 7 (netid)
netid go to state 12
state 11
netid -> ASTRING . (rule 6)
$default reduce using rule 6 (netid)
state 12
pin -> ASTRING spaces ASTRING SPACE netid . SPACE ASTRING SPACE ASTRING SPACE ASTRING endline (rule 5)
SPACE shift, and go to state 13
state 13
pin -> ASTRING spaces ASTRING SPACE netid SPACE . ASTRING SPACE ASTRING SPACE ASTRING endline (rule 5)
ASTRING shift, and go to state 14
state 14
pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING . SPACE ASTRING SPACE ASTRING endline (rule 5)
SPACE shift, and go to state 15
state 15
pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING SPACE . ASTRING SPACE ASTRING endline (rule 5)
ASTRING shift, and go to state 16
state 16
pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING SPACE ASTRING . SPACE ASTRING endline (rule 5)
SPACE shift, and go to state 17
state 17
pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING SPACE ASTRING SPACE . ASTRING endline (rule 5)
ASTRING shift, and go to state 18
state 18
pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING SPACE ASTRING SPACE ASTRING . endline (rule 5)
LF shift, and go to state 19
CR shift, and go to state 20
endline go to state 21
state 19
endline -> LF . (rule 10)
$default reduce using rule 10 (endline)
state 20
endline -> CR . (rule 8)
endline -> CR . LF (rule 9)
LF shift, and go to state 22
$default reduce using rule 8 (endline)
state 21
pin -> ASTRING spaces ASTRING SPACE netid SPACE ASTRING SPACE ASTRING SPACE ASTRING endline . (rule 5)
$default reduce using rule 5 (pin)
state 22
endline -> CR LF . (rule 9)
$default reduce using rule 9 (endline)
state 23
$ go to state 24
state 24
$ go to state 25
state 25
$default accept