Subversion Repositories Vertical

Rev

Blame | Last modification | View Log | Download | RSS feed

State 0 contains 8 shift/reduce conflicts.
State 8 contains 1 shift/reduce conflict and 9 reduce/reduce conflicts.
State 9 contains 9 shift/reduce conflicts.
State 12 contains 1 shift/reduce conflict.
State 21 contains 1 shift/reduce conflict.
State 32 contains 1 shift/reduce conflict.
State 39 contains 1 shift/reduce conflict and 1 reduce/reduce conflict.


Grammar

  Number, Line, Rule
    1 153 objects -> objects object
    2 154 objects -> object
    3 158 object -> junk_line
    4 159 object -> junk_block
    5 160 object -> CON NL netlist EOD
    6 161 object -> gap
    7 166 junk_line -> junk_line_start words
    8 168 junk_line_start -> CSP
    9 168 junk_line_start -> PCB
   10 168 junk_line_start -> REM
   11 168 junk_line_start -> IMP
   12 170 words -> words ASTRING
   13 171 words -> ASTRING
   14 172 words -> /* empty */
   15 175 junk_block -> junk_block_start NL lines
   16 178 junk_block_start -> ASS
   17 178 junk_block_start -> COM
   18 180 lines -> line lines
   19 181 lines -> line
   20 184 line -> words NL
   21 189 netlist -> netlist netnodes
   22 190 netlist -> netnodes
   23 195 netnodes -> rem_part
   24 196 netnodes -> name_part
   25 197 netnodes -> cod_part
   26 198 netnodes -> nodelines
   27 199 netnodes -> NL
   28 201 rem_part -> REM ASTRING ASTRING NL
   29 203 name_part -> QUOTE ASTRING QUOTE NL
   30 205 cod_part -> COD ASTRING NL
   31 207 nodelines -> nodelines nodeline
   32 208 nodelines -> nodeline
   33 211 nodeline -> nodes NL
   34 214 nodes -> nodes node
   35 215 nodes -> node
   36 219 node -> ASTRING ASTRING
   37 227 gap -> NL gap
   38 228 gap -> NL
   39 229 gap -> /* empty */


Terminals, with rules where they appear

$ (-1)
error (256)
ASS (257) 16
IMP (258) 11
COM (259) 17
CSP (260) 8
PCB (261) 9
CON (262) 5
COD (263) 30
REM (264) 10 28
EOD (265) 5
NL (266) 5 15 20 27 28 29 30 33 37 38
QUOTE (267) 29
ASTRING (268) 12 13 28 29 30 36


Nonterminals, with rules where they appear

objects (15)
    on left: 1 2, on right: 1
object (16)
    on left: 3 4 5 6, on right: 1 2
junk_line (17)
    on left: 7, on right: 3
junk_line_start (18)
    on left: 8 9 10 11, on right: 7
words (19)
    on left: 12 13 14, on right: 7 12 20
junk_block (20)
    on left: 15, on right: 4
junk_block_start (21)
    on left: 16 17, on right: 15
lines (22)
    on left: 18 19, on right: 15 18
line (23)
    on left: 20, on right: 18 19
netlist (24)
    on left: 21 22, on right: 5 21
netnodes (25)
    on left: 23 24 25 26 27, on right: 21 22
rem_part (26)
    on left: 28, on right: 23
name_part (27)
    on left: 29, on right: 24
cod_part (28)
    on left: 30, on right: 25
nodelines (29)
    on left: 31 32, on right: 26 31
nodeline (30)
    on left: 33, on right: 31 32
nodes (31)
    on left: 34 35, on right: 33 34
node (32)
    on left: 36, on right: 34 35
gap (33)
    on left: 37 38 39, on right: 6 37


state 0

    ASS         shift, and go to state 1
    IMP         shift, and go to state 2
    COM         shift, and go to state 3
    CSP         shift, and go to state 4
    PCB         shift, and go to state 5
    CON         shift, and go to state 6
    REM         shift, and go to state 7
    NL          shift, and go to state 8

    ASS         [reduce using rule 39 (gap)]
    IMP         [reduce using rule 39 (gap)]
    COM         [reduce using rule 39 (gap)]
    CSP         [reduce using rule 39 (gap)]
    PCB         [reduce using rule 39 (gap)]
    CON         [reduce using rule 39 (gap)]
    REM         [reduce using rule 39 (gap)]
    NL          [reduce using rule 39 (gap)]
    $default    reduce using rule 39 (gap)

    objects     go to state 9
    object      go to state 10
    junk_line   go to state 11
    junk_line_start     go to state 12
    junk_block  go to state 13
    junk_block_start    go to state 14
    gap         go to state 15



state 1

    junk_block_start  ->  ASS .   (rule 16)

    $default    reduce using rule 16 (junk_block_start)



state 2

    junk_line_start  ->  IMP .   (rule 11)

    $default    reduce using rule 11 (junk_line_start)



state 3

    junk_block_start  ->  COM .   (rule 17)

    $default    reduce using rule 17 (junk_block_start)



state 4

    junk_line_start  ->  CSP .   (rule 8)

    $default    reduce using rule 8 (junk_line_start)



state 5

    junk_line_start  ->  PCB .   (rule 9)

    $default    reduce using rule 9 (junk_line_start)



state 6

    object  ->  CON . NL netlist EOD   (rule 5)

    NL          shift, and go to state 16



state 7

    junk_line_start  ->  REM .   (rule 10)

    $default    reduce using rule 10 (junk_line_start)



state 8

    gap  ->  NL . gap   (rule 37)
    gap  ->  NL .   (rule 38)

    NL          shift, and go to state 8

    $           reduce using rule 38 (gap)
    $           [reduce using rule 39 (gap)]
    ASS         reduce using rule 38 (gap)
    ASS         [reduce using rule 39 (gap)]
    IMP         reduce using rule 38 (gap)
    IMP         [reduce using rule 39 (gap)]
    COM         reduce using rule 38 (gap)
    COM         [reduce using rule 39 (gap)]
    CSP         reduce using rule 38 (gap)
    CSP         [reduce using rule 39 (gap)]
    PCB         reduce using rule 38 (gap)
    PCB         [reduce using rule 39 (gap)]
    CON         reduce using rule 38 (gap)
    CON         [reduce using rule 39 (gap)]
    REM         reduce using rule 38 (gap)
    REM         [reduce using rule 39 (gap)]
    NL          [reduce using rule 38 (gap)]
    NL          [reduce using rule 39 (gap)]
    $default    reduce using rule 38 (gap)
    gap         go to state 17



state 9

    objects  ->  objects . object   (rule 1)

    $           go to state 56
    ASS         shift, and go to state 1
    IMP         shift, and go to state 2
    COM         shift, and go to state 3
    CSP         shift, and go to state 4
    PCB         shift, and go to state 5
    CON         shift, and go to state 6
    REM         shift, and go to state 7
    NL          shift, and go to state 8

    $           [reduce using rule 39 (gap)]
    ASS         [reduce using rule 39 (gap)]
    IMP         [reduce using rule 39 (gap)]
    COM         [reduce using rule 39 (gap)]
    CSP         [reduce using rule 39 (gap)]
    PCB         [reduce using rule 39 (gap)]
    CON         [reduce using rule 39 (gap)]
    REM         [reduce using rule 39 (gap)]
    NL          [reduce using rule 39 (gap)]
    $default    reduce using rule 39 (gap)

    object      go to state 18
    junk_line   go to state 11
    junk_line_start     go to state 12
    junk_block  go to state 13
    junk_block_start    go to state 14
    gap         go to state 15



state 10

    objects  ->  object .   (rule 2)

    $default    reduce using rule 2 (objects)



state 11

    object  ->  junk_line .   (rule 3)

    $default    reduce using rule 3 (object)



state 12

    junk_line  ->  junk_line_start . words   (rule 7)

    ASTRING     shift, and go to state 19

    ASTRING     [reduce using rule 14 (words)]
    $default    reduce using rule 14 (words)

    words       go to state 20



state 13

    object  ->  junk_block .   (rule 4)

    $default    reduce using rule 4 (object)



state 14

    junk_block  ->  junk_block_start . NL lines   (rule 15)

    NL          shift, and go to state 21



state 15

    object  ->  gap .   (rule 6)

    $default    reduce using rule 6 (object)



state 16

    object  ->  CON NL . netlist EOD   (rule 5)

    COD         shift, and go to state 22
    REM         shift, and go to state 23
    NL          shift, and go to state 24
    QUOTE       shift, and go to state 25
    ASTRING     shift, and go to state 26

    netlist     go to state 27
    netnodes    go to state 28
    rem_part    go to state 29
    name_part   go to state 30
    cod_part    go to state 31
    nodelines   go to state 32
    nodeline    go to state 33
    nodes       go to state 34
    node        go to state 35



state 17

    gap  ->  NL gap .   (rule 37)

    $default    reduce using rule 37 (gap)



state 18

    objects  ->  objects object .   (rule 1)

    $default    reduce using rule 1 (objects)



state 19

    words  ->  ASTRING .   (rule 13)

    $default    reduce using rule 13 (words)



state 20

    junk_line  ->  junk_line_start words .   (rule 7)
    words  ->  words . ASTRING   (rule 12)

    ASTRING     shift, and go to state 36

    $default    reduce using rule 7 (junk_line)



state 21

    junk_block  ->  junk_block_start NL . lines   (rule 15)

    ASTRING     shift, and go to state 19

    ASTRING     [reduce using rule 14 (words)]
    $default    reduce using rule 14 (words)

    words       go to state 37
    lines       go to state 38
    line        go to state 39



state 22

    cod_part  ->  COD . ASTRING NL   (rule 30)

    ASTRING     shift, and go to state 40



state 23

    rem_part  ->  REM . ASTRING ASTRING NL   (rule 28)

    ASTRING     shift, and go to state 41



state 24

    netnodes  ->  NL .   (rule 27)

    $default    reduce using rule 27 (netnodes)



state 25

    name_part  ->  QUOTE . ASTRING QUOTE NL   (rule 29)

    ASTRING     shift, and go to state 42



state 26

    node  ->  ASTRING . ASTRING   (rule 36)

    ASTRING     shift, and go to state 43



state 27

    object  ->  CON NL netlist . EOD   (rule 5)
    netlist  ->  netlist . netnodes   (rule 21)

    COD         shift, and go to state 22
    REM         shift, and go to state 23
    EOD         shift, and go to state 44
    NL          shift, and go to state 24
    QUOTE       shift, and go to state 25
    ASTRING     shift, and go to state 26

    netnodes    go to state 45
    rem_part    go to state 29
    name_part   go to state 30
    cod_part    go to state 31
    nodelines   go to state 32
    nodeline    go to state 33
    nodes       go to state 34
    node        go to state 35



state 28

    netlist  ->  netnodes .   (rule 22)

    $default    reduce using rule 22 (netlist)



state 29

    netnodes  ->  rem_part .   (rule 23)

    $default    reduce using rule 23 (netnodes)



state 30

    netnodes  ->  name_part .   (rule 24)

    $default    reduce using rule 24 (netnodes)



state 31

    netnodes  ->  cod_part .   (rule 25)

    $default    reduce using rule 25 (netnodes)



state 32

    netnodes  ->  nodelines .   (rule 26)
    nodelines  ->  nodelines . nodeline   (rule 31)

    ASTRING     shift, and go to state 26

    ASTRING     [reduce using rule 26 (netnodes)]
    $default    reduce using rule 26 (netnodes)

    nodeline    go to state 46
    nodes       go to state 34
    node        go to state 35



state 33

    nodelines  ->  nodeline .   (rule 32)

    $default    reduce using rule 32 (nodelines)



state 34

    nodeline  ->  nodes . NL   (rule 33)
    nodes  ->  nodes . node   (rule 34)

    NL          shift, and go to state 47
    ASTRING     shift, and go to state 26

    node        go to state 48



state 35

    nodes  ->  node .   (rule 35)

    $default    reduce using rule 35 (nodes)



state 36

    words  ->  words ASTRING .   (rule 12)

    $default    reduce using rule 12 (words)



state 37

    words  ->  words . ASTRING   (rule 12)
    line  ->  words . NL   (rule 20)

    NL          shift, and go to state 49
    ASTRING     shift, and go to state 36



state 38

    junk_block  ->  junk_block_start NL lines .   (rule 15)

    $default    reduce using rule 15 (junk_block)



state 39

    lines  ->  line . lines   (rule 18)
    lines  ->  line .   (rule 19)

    ASTRING     shift, and go to state 19

    NL          reduce using rule 14 (words)
    NL          [reduce using rule 19 (lines)]
    ASTRING     [reduce using rule 14 (words)]
    $default    reduce using rule 19 (lines)
    words       go to state 37
    lines       go to state 50
    line        go to state 39



state 40

    cod_part  ->  COD ASTRING . NL   (rule 30)

    NL          shift, and go to state 51



state 41

    rem_part  ->  REM ASTRING . ASTRING NL   (rule 28)

    ASTRING     shift, and go to state 52



state 42

    name_part  ->  QUOTE ASTRING . QUOTE NL   (rule 29)

    QUOTE       shift, and go to state 53



state 43

    node  ->  ASTRING ASTRING .   (rule 36)

    $default    reduce using rule 36 (node)



state 44

    object  ->  CON NL netlist EOD .   (rule 5)

    $default    reduce using rule 5 (object)



state 45

    netlist  ->  netlist netnodes .   (rule 21)

    $default    reduce using rule 21 (netlist)



state 46

    nodelines  ->  nodelines nodeline .   (rule 31)

    $default    reduce using rule 31 (nodelines)



state 47

    nodeline  ->  nodes NL .   (rule 33)

    $default    reduce using rule 33 (nodeline)



state 48

    nodes  ->  nodes node .   (rule 34)

    $default    reduce using rule 34 (nodes)



state 49

    line  ->  words NL .   (rule 20)

    $default    reduce using rule 20 (line)



state 50

    lines  ->  line lines .   (rule 18)

    $default    reduce using rule 18 (lines)



state 51

    cod_part  ->  COD ASTRING NL .   (rule 30)

    $default    reduce using rule 30 (cod_part)



state 52

    rem_part  ->  REM ASTRING ASTRING . NL   (rule 28)

    NL          shift, and go to state 54



state 53

    name_part  ->  QUOTE ASTRING QUOTE . NL   (rule 29)

    NL          shift, and go to state 55



state 54

    rem_part  ->  REM ASTRING ASTRING NL .   (rule 28)

    $default    reduce using rule 28 (rem_part)



state 55

    name_part  ->  QUOTE ASTRING QUOTE NL .   (rule 29)

    $default    reduce using rule 29 (name_part)



state 56

    $           go to state 57



state 57

    $default    accept