Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | State 0 contains 8 shift/reduce conflicts. |
2 | State 8 contains 1 shift/reduce conflict and 9 reduce/reduce conflicts. |
||
3 | State 9 contains 9 shift/reduce conflicts. |
||
4 | State 12 contains 1 shift/reduce conflict. |
||
5 | State 21 contains 1 shift/reduce conflict. |
||
6 | State 32 contains 1 shift/reduce conflict. |
||
7 | State 39 contains 1 shift/reduce conflict and 1 reduce/reduce conflict. |
||
8 | |||
9 | |||
10 | Grammar |
||
11 | |||
12 | Number, Line, Rule |
||
13 | 1 153 objects -> objects object |
||
14 | 2 154 objects -> object |
||
15 | 3 158 object -> junk_line |
||
16 | 4 159 object -> junk_block |
||
17 | 5 160 object -> CON NL netlist EOD |
||
18 | 6 161 object -> gap |
||
19 | 7 166 junk_line -> junk_line_start words |
||
20 | 8 168 junk_line_start -> CSP |
||
21 | 9 168 junk_line_start -> PCB |
||
22 | 10 168 junk_line_start -> REM |
||
23 | 11 168 junk_line_start -> IMP |
||
24 | 12 170 words -> words ASTRING |
||
25 | 13 171 words -> ASTRING |
||
26 | 14 172 words -> /* empty */ |
||
27 | 15 175 junk_block -> junk_block_start NL lines |
||
28 | 16 178 junk_block_start -> ASS |
||
29 | 17 178 junk_block_start -> COM |
||
30 | 18 180 lines -> line lines |
||
31 | 19 181 lines -> line |
||
32 | 20 184 line -> words NL |
||
33 | 21 189 netlist -> netlist netnodes |
||
34 | 22 190 netlist -> netnodes |
||
35 | 23 195 netnodes -> rem_part |
||
36 | 24 196 netnodes -> name_part |
||
37 | 25 197 netnodes -> cod_part |
||
38 | 26 198 netnodes -> nodelines |
||
39 | 27 199 netnodes -> NL |
||
40 | 28 201 rem_part -> REM ASTRING ASTRING NL |
||
41 | 29 203 name_part -> QUOTE ASTRING QUOTE NL |
||
42 | 30 205 cod_part -> COD ASTRING NL |
||
43 | 31 207 nodelines -> nodelines nodeline |
||
44 | 32 208 nodelines -> nodeline |
||
45 | 33 211 nodeline -> nodes NL |
||
46 | 34 214 nodes -> nodes node |
||
47 | 35 215 nodes -> node |
||
48 | 36 219 node -> ASTRING ASTRING |
||
49 | 37 227 gap -> NL gap |
||
50 | 38 228 gap -> NL |
||
51 | 39 229 gap -> /* empty */ |
||
52 | |||
53 | |||
54 | Terminals, with rules where they appear |
||
55 | |||
56 | $ (-1) |
||
57 | error (256) |
||
58 | ASS (257) 16 |
||
59 | IMP (258) 11 |
||
60 | COM (259) 17 |
||
61 | CSP (260) 8 |
||
62 | PCB (261) 9 |
||
63 | CON (262) 5 |
||
64 | COD (263) 30 |
||
65 | REM (264) 10 28 |
||
66 | EOD (265) 5 |
||
67 | NL (266) 5 15 20 27 28 29 30 33 37 38 |
||
68 | QUOTE (267) 29 |
||
69 | ASTRING (268) 12 13 28 29 30 36 |
||
70 | |||
71 | |||
72 | Nonterminals, with rules where they appear |
||
73 | |||
74 | objects (15) |
||
75 | on left: 1 2, on right: 1 |
||
76 | object (16) |
||
77 | on left: 3 4 5 6, on right: 1 2 |
||
78 | junk_line (17) |
||
79 | on left: 7, on right: 3 |
||
80 | junk_line_start (18) |
||
81 | on left: 8 9 10 11, on right: 7 |
||
82 | words (19) |
||
83 | on left: 12 13 14, on right: 7 12 20 |
||
84 | junk_block (20) |
||
85 | on left: 15, on right: 4 |
||
86 | junk_block_start (21) |
||
87 | on left: 16 17, on right: 15 |
||
88 | lines (22) |
||
89 | on left: 18 19, on right: 15 18 |
||
90 | line (23) |
||
91 | on left: 20, on right: 18 19 |
||
92 | netlist (24) |
||
93 | on left: 21 22, on right: 5 21 |
||
94 | netnodes (25) |
||
95 | on left: 23 24 25 26 27, on right: 21 22 |
||
96 | rem_part (26) |
||
97 | on left: 28, on right: 23 |
||
98 | name_part (27) |
||
99 | on left: 29, on right: 24 |
||
100 | cod_part (28) |
||
101 | on left: 30, on right: 25 |
||
102 | nodelines (29) |
||
103 | on left: 31 32, on right: 26 31 |
||
104 | nodeline (30) |
||
105 | on left: 33, on right: 31 32 |
||
106 | nodes (31) |
||
107 | on left: 34 35, on right: 33 34 |
||
108 | node (32) |
||
109 | on left: 36, on right: 34 35 |
||
110 | gap (33) |
||
111 | on left: 37 38 39, on right: 6 37 |
||
112 | |||
113 | |||
114 | state 0 |
||
115 | |||
116 | ASS shift, and go to state 1 |
||
117 | IMP shift, and go to state 2 |
||
118 | COM shift, and go to state 3 |
||
119 | CSP shift, and go to state 4 |
||
120 | PCB shift, and go to state 5 |
||
121 | CON shift, and go to state 6 |
||
122 | REM shift, and go to state 7 |
||
123 | NL shift, and go to state 8 |
||
124 | |||
125 | ASS [reduce using rule 39 (gap)] |
||
126 | IMP [reduce using rule 39 (gap)] |
||
127 | COM [reduce using rule 39 (gap)] |
||
128 | CSP [reduce using rule 39 (gap)] |
||
129 | PCB [reduce using rule 39 (gap)] |
||
130 | CON [reduce using rule 39 (gap)] |
||
131 | REM [reduce using rule 39 (gap)] |
||
132 | NL [reduce using rule 39 (gap)] |
||
133 | $default reduce using rule 39 (gap) |
||
134 | |||
135 | objects go to state 9 |
||
136 | object go to state 10 |
||
137 | junk_line go to state 11 |
||
138 | junk_line_start go to state 12 |
||
139 | junk_block go to state 13 |
||
140 | junk_block_start go to state 14 |
||
141 | gap go to state 15 |
||
142 | |||
143 | |||
144 | |||
145 | state 1 |
||
146 | |||
147 | junk_block_start -> ASS . (rule 16) |
||
148 | |||
149 | $default reduce using rule 16 (junk_block_start) |
||
150 | |||
151 | |||
152 | |||
153 | state 2 |
||
154 | |||
155 | junk_line_start -> IMP . (rule 11) |
||
156 | |||
157 | $default reduce using rule 11 (junk_line_start) |
||
158 | |||
159 | |||
160 | |||
161 | state 3 |
||
162 | |||
163 | junk_block_start -> COM . (rule 17) |
||
164 | |||
165 | $default reduce using rule 17 (junk_block_start) |
||
166 | |||
167 | |||
168 | |||
169 | state 4 |
||
170 | |||
171 | junk_line_start -> CSP . (rule 8) |
||
172 | |||
173 | $default reduce using rule 8 (junk_line_start) |
||
174 | |||
175 | |||
176 | |||
177 | state 5 |
||
178 | |||
179 | junk_line_start -> PCB . (rule 9) |
||
180 | |||
181 | $default reduce using rule 9 (junk_line_start) |
||
182 | |||
183 | |||
184 | |||
185 | state 6 |
||
186 | |||
187 | object -> CON . NL netlist EOD (rule 5) |
||
188 | |||
189 | NL shift, and go to state 16 |
||
190 | |||
191 | |||
192 | |||
193 | state 7 |
||
194 | |||
195 | junk_line_start -> REM . (rule 10) |
||
196 | |||
197 | $default reduce using rule 10 (junk_line_start) |
||
198 | |||
199 | |||
200 | |||
201 | state 8 |
||
202 | |||
203 | gap -> NL . gap (rule 37) |
||
204 | gap -> NL . (rule 38) |
||
205 | |||
206 | NL shift, and go to state 8 |
||
207 | |||
208 | $ reduce using rule 38 (gap) |
||
209 | $ [reduce using rule 39 (gap)] |
||
210 | ASS reduce using rule 38 (gap) |
||
211 | ASS [reduce using rule 39 (gap)] |
||
212 | IMP reduce using rule 38 (gap) |
||
213 | IMP [reduce using rule 39 (gap)] |
||
214 | COM reduce using rule 38 (gap) |
||
215 | COM [reduce using rule 39 (gap)] |
||
216 | CSP reduce using rule 38 (gap) |
||
217 | CSP [reduce using rule 39 (gap)] |
||
218 | PCB reduce using rule 38 (gap) |
||
219 | PCB [reduce using rule 39 (gap)] |
||
220 | CON reduce using rule 38 (gap) |
||
221 | CON [reduce using rule 39 (gap)] |
||
222 | REM reduce using rule 38 (gap) |
||
223 | REM [reduce using rule 39 (gap)] |
||
224 | NL [reduce using rule 38 (gap)] |
||
225 | NL [reduce using rule 39 (gap)] |
||
226 | $default reduce using rule 38 (gap) |
||
227 | gap go to state 17 |
||
228 | |||
229 | |||
230 | |||
231 | state 9 |
||
232 | |||
233 | objects -> objects . object (rule 1) |
||
234 | |||
235 | $ go to state 56 |
||
236 | ASS shift, and go to state 1 |
||
237 | IMP shift, and go to state 2 |
||
238 | COM shift, and go to state 3 |
||
239 | CSP shift, and go to state 4 |
||
240 | PCB shift, and go to state 5 |
||
241 | CON shift, and go to state 6 |
||
242 | REM shift, and go to state 7 |
||
243 | NL shift, and go to state 8 |
||
244 | |||
245 | $ [reduce using rule 39 (gap)] |
||
246 | ASS [reduce using rule 39 (gap)] |
||
247 | IMP [reduce using rule 39 (gap)] |
||
248 | COM [reduce using rule 39 (gap)] |
||
249 | CSP [reduce using rule 39 (gap)] |
||
250 | PCB [reduce using rule 39 (gap)] |
||
251 | CON [reduce using rule 39 (gap)] |
||
252 | REM [reduce using rule 39 (gap)] |
||
253 | NL [reduce using rule 39 (gap)] |
||
254 | $default reduce using rule 39 (gap) |
||
255 | |||
256 | object go to state 18 |
||
257 | junk_line go to state 11 |
||
258 | junk_line_start go to state 12 |
||
259 | junk_block go to state 13 |
||
260 | junk_block_start go to state 14 |
||
261 | gap go to state 15 |
||
262 | |||
263 | |||
264 | |||
265 | state 10 |
||
266 | |||
267 | objects -> object . (rule 2) |
||
268 | |||
269 | $default reduce using rule 2 (objects) |
||
270 | |||
271 | |||
272 | |||
273 | state 11 |
||
274 | |||
275 | object -> junk_line . (rule 3) |
||
276 | |||
277 | $default reduce using rule 3 (object) |
||
278 | |||
279 | |||
280 | |||
281 | state 12 |
||
282 | |||
283 | junk_line -> junk_line_start . words (rule 7) |
||
284 | |||
285 | ASTRING shift, and go to state 19 |
||
286 | |||
287 | ASTRING [reduce using rule 14 (words)] |
||
288 | $default reduce using rule 14 (words) |
||
289 | |||
290 | words go to state 20 |
||
291 | |||
292 | |||
293 | |||
294 | state 13 |
||
295 | |||
296 | object -> junk_block . (rule 4) |
||
297 | |||
298 | $default reduce using rule 4 (object) |
||
299 | |||
300 | |||
301 | |||
302 | state 14 |
||
303 | |||
304 | junk_block -> junk_block_start . NL lines (rule 15) |
||
305 | |||
306 | NL shift, and go to state 21 |
||
307 | |||
308 | |||
309 | |||
310 | state 15 |
||
311 | |||
312 | object -> gap . (rule 6) |
||
313 | |||
314 | $default reduce using rule 6 (object) |
||
315 | |||
316 | |||
317 | |||
318 | state 16 |
||
319 | |||
320 | object -> CON NL . netlist EOD (rule 5) |
||
321 | |||
322 | COD shift, and go to state 22 |
||
323 | REM shift, and go to state 23 |
||
324 | NL shift, and go to state 24 |
||
325 | QUOTE shift, and go to state 25 |
||
326 | ASTRING shift, and go to state 26 |
||
327 | |||
328 | netlist go to state 27 |
||
329 | netnodes go to state 28 |
||
330 | rem_part go to state 29 |
||
331 | name_part go to state 30 |
||
332 | cod_part go to state 31 |
||
333 | nodelines go to state 32 |
||
334 | nodeline go to state 33 |
||
335 | nodes go to state 34 |
||
336 | node go to state 35 |
||
337 | |||
338 | |||
339 | |||
340 | state 17 |
||
341 | |||
342 | gap -> NL gap . (rule 37) |
||
343 | |||
344 | $default reduce using rule 37 (gap) |
||
345 | |||
346 | |||
347 | |||
348 | state 18 |
||
349 | |||
350 | objects -> objects object . (rule 1) |
||
351 | |||
352 | $default reduce using rule 1 (objects) |
||
353 | |||
354 | |||
355 | |||
356 | state 19 |
||
357 | |||
358 | words -> ASTRING . (rule 13) |
||
359 | |||
360 | $default reduce using rule 13 (words) |
||
361 | |||
362 | |||
363 | |||
364 | state 20 |
||
365 | |||
366 | junk_line -> junk_line_start words . (rule 7) |
||
367 | words -> words . ASTRING (rule 12) |
||
368 | |||
369 | ASTRING shift, and go to state 36 |
||
370 | |||
371 | $default reduce using rule 7 (junk_line) |
||
372 | |||
373 | |||
374 | |||
375 | state 21 |
||
376 | |||
377 | junk_block -> junk_block_start NL . lines (rule 15) |
||
378 | |||
379 | ASTRING shift, and go to state 19 |
||
380 | |||
381 | ASTRING [reduce using rule 14 (words)] |
||
382 | $default reduce using rule 14 (words) |
||
383 | |||
384 | words go to state 37 |
||
385 | lines go to state 38 |
||
386 | line go to state 39 |
||
387 | |||
388 | |||
389 | |||
390 | state 22 |
||
391 | |||
392 | cod_part -> COD . ASTRING NL (rule 30) |
||
393 | |||
394 | ASTRING shift, and go to state 40 |
||
395 | |||
396 | |||
397 | |||
398 | state 23 |
||
399 | |||
400 | rem_part -> REM . ASTRING ASTRING NL (rule 28) |
||
401 | |||
402 | ASTRING shift, and go to state 41 |
||
403 | |||
404 | |||
405 | |||
406 | state 24 |
||
407 | |||
408 | netnodes -> NL . (rule 27) |
||
409 | |||
410 | $default reduce using rule 27 (netnodes) |
||
411 | |||
412 | |||
413 | |||
414 | state 25 |
||
415 | |||
416 | name_part -> QUOTE . ASTRING QUOTE NL (rule 29) |
||
417 | |||
418 | ASTRING shift, and go to state 42 |
||
419 | |||
420 | |||
421 | |||
422 | state 26 |
||
423 | |||
424 | node -> ASTRING . ASTRING (rule 36) |
||
425 | |||
426 | ASTRING shift, and go to state 43 |
||
427 | |||
428 | |||
429 | |||
430 | state 27 |
||
431 | |||
432 | object -> CON NL netlist . EOD (rule 5) |
||
433 | netlist -> netlist . netnodes (rule 21) |
||
434 | |||
435 | COD shift, and go to state 22 |
||
436 | REM shift, and go to state 23 |
||
437 | EOD shift, and go to state 44 |
||
438 | NL shift, and go to state 24 |
||
439 | QUOTE shift, and go to state 25 |
||
440 | ASTRING shift, and go to state 26 |
||
441 | |||
442 | netnodes go to state 45 |
||
443 | rem_part go to state 29 |
||
444 | name_part go to state 30 |
||
445 | cod_part go to state 31 |
||
446 | nodelines go to state 32 |
||
447 | nodeline go to state 33 |
||
448 | nodes go to state 34 |
||
449 | node go to state 35 |
||
450 | |||
451 | |||
452 | |||
453 | state 28 |
||
454 | |||
455 | netlist -> netnodes . (rule 22) |
||
456 | |||
457 | $default reduce using rule 22 (netlist) |
||
458 | |||
459 | |||
460 | |||
461 | state 29 |
||
462 | |||
463 | netnodes -> rem_part . (rule 23) |
||
464 | |||
465 | $default reduce using rule 23 (netnodes) |
||
466 | |||
467 | |||
468 | |||
469 | state 30 |
||
470 | |||
471 | netnodes -> name_part . (rule 24) |
||
472 | |||
473 | $default reduce using rule 24 (netnodes) |
||
474 | |||
475 | |||
476 | |||
477 | state 31 |
||
478 | |||
479 | netnodes -> cod_part . (rule 25) |
||
480 | |||
481 | $default reduce using rule 25 (netnodes) |
||
482 | |||
483 | |||
484 | |||
485 | state 32 |
||
486 | |||
487 | netnodes -> nodelines . (rule 26) |
||
488 | nodelines -> nodelines . nodeline (rule 31) |
||
489 | |||
490 | ASTRING shift, and go to state 26 |
||
491 | |||
492 | ASTRING [reduce using rule 26 (netnodes)] |
||
493 | $default reduce using rule 26 (netnodes) |
||
494 | |||
495 | nodeline go to state 46 |
||
496 | nodes go to state 34 |
||
497 | node go to state 35 |
||
498 | |||
499 | |||
500 | |||
501 | state 33 |
||
502 | |||
503 | nodelines -> nodeline . (rule 32) |
||
504 | |||
505 | $default reduce using rule 32 (nodelines) |
||
506 | |||
507 | |||
508 | |||
509 | state 34 |
||
510 | |||
511 | nodeline -> nodes . NL (rule 33) |
||
512 | nodes -> nodes . node (rule 34) |
||
513 | |||
514 | NL shift, and go to state 47 |
||
515 | ASTRING shift, and go to state 26 |
||
516 | |||
517 | node go to state 48 |
||
518 | |||
519 | |||
520 | |||
521 | state 35 |
||
522 | |||
523 | nodes -> node . (rule 35) |
||
524 | |||
525 | $default reduce using rule 35 (nodes) |
||
526 | |||
527 | |||
528 | |||
529 | state 36 |
||
530 | |||
531 | words -> words ASTRING . (rule 12) |
||
532 | |||
533 | $default reduce using rule 12 (words) |
||
534 | |||
535 | |||
536 | |||
537 | state 37 |
||
538 | |||
539 | words -> words . ASTRING (rule 12) |
||
540 | line -> words . NL (rule 20) |
||
541 | |||
542 | NL shift, and go to state 49 |
||
543 | ASTRING shift, and go to state 36 |
||
544 | |||
545 | |||
546 | |||
547 | state 38 |
||
548 | |||
549 | junk_block -> junk_block_start NL lines . (rule 15) |
||
550 | |||
551 | $default reduce using rule 15 (junk_block) |
||
552 | |||
553 | |||
554 | |||
555 | state 39 |
||
556 | |||
557 | lines -> line . lines (rule 18) |
||
558 | lines -> line . (rule 19) |
||
559 | |||
560 | ASTRING shift, and go to state 19 |
||
561 | |||
562 | NL reduce using rule 14 (words) |
||
563 | NL [reduce using rule 19 (lines)] |
||
564 | ASTRING [reduce using rule 14 (words)] |
||
565 | $default reduce using rule 19 (lines) |
||
566 | words go to state 37 |
||
567 | lines go to state 50 |
||
568 | line go to state 39 |
||
569 | |||
570 | |||
571 | |||
572 | state 40 |
||
573 | |||
574 | cod_part -> COD ASTRING . NL (rule 30) |
||
575 | |||
576 | NL shift, and go to state 51 |
||
577 | |||
578 | |||
579 | |||
580 | state 41 |
||
581 | |||
582 | rem_part -> REM ASTRING . ASTRING NL (rule 28) |
||
583 | |||
584 | ASTRING shift, and go to state 52 |
||
585 | |||
586 | |||
587 | |||
588 | state 42 |
||
589 | |||
590 | name_part -> QUOTE ASTRING . QUOTE NL (rule 29) |
||
591 | |||
592 | QUOTE shift, and go to state 53 |
||
593 | |||
594 | |||
595 | |||
596 | state 43 |
||
597 | |||
598 | node -> ASTRING ASTRING . (rule 36) |
||
599 | |||
600 | $default reduce using rule 36 (node) |
||
601 | |||
602 | |||
603 | |||
604 | state 44 |
||
605 | |||
606 | object -> CON NL netlist EOD . (rule 5) |
||
607 | |||
608 | $default reduce using rule 5 (object) |
||
609 | |||
610 | |||
611 | |||
612 | state 45 |
||
613 | |||
614 | netlist -> netlist netnodes . (rule 21) |
||
615 | |||
616 | $default reduce using rule 21 (netlist) |
||
617 | |||
618 | |||
619 | |||
620 | state 46 |
||
621 | |||
622 | nodelines -> nodelines nodeline . (rule 31) |
||
623 | |||
624 | $default reduce using rule 31 (nodelines) |
||
625 | |||
626 | |||
627 | |||
628 | state 47 |
||
629 | |||
630 | nodeline -> nodes NL . (rule 33) |
||
631 | |||
632 | $default reduce using rule 33 (nodeline) |
||
633 | |||
634 | |||
635 | |||
636 | state 48 |
||
637 | |||
638 | nodes -> nodes node . (rule 34) |
||
639 | |||
640 | $default reduce using rule 34 (nodes) |
||
641 | |||
642 | |||
643 | |||
644 | state 49 |
||
645 | |||
646 | line -> words NL . (rule 20) |
||
647 | |||
648 | $default reduce using rule 20 (line) |
||
649 | |||
650 | |||
651 | |||
652 | state 50 |
||
653 | |||
654 | lines -> line lines . (rule 18) |
||
655 | |||
656 | $default reduce using rule 18 (lines) |
||
657 | |||
658 | |||
659 | |||
660 | state 51 |
||
661 | |||
662 | cod_part -> COD ASTRING NL . (rule 30) |
||
663 | |||
664 | $default reduce using rule 30 (cod_part) |
||
665 | |||
666 | |||
667 | |||
668 | state 52 |
||
669 | |||
670 | rem_part -> REM ASTRING ASTRING . NL (rule 28) |
||
671 | |||
672 | NL shift, and go to state 54 |
||
673 | |||
674 | |||
675 | |||
676 | state 53 |
||
677 | |||
678 | name_part -> QUOTE ASTRING QUOTE . NL (rule 29) |
||
679 | |||
680 | NL shift, and go to state 55 |
||
681 | |||
682 | |||
683 | |||
684 | state 54 |
||
685 | |||
686 | rem_part -> REM ASTRING ASTRING NL . (rule 28) |
||
687 | |||
688 | $default reduce using rule 28 (rem_part) |
||
689 | |||
690 | |||
691 | |||
692 | state 55 |
||
693 | |||
694 | name_part -> QUOTE ASTRING QUOTE NL . (rule 29) |
||
695 | |||
696 | $default reduce using rule 29 (name_part) |
||
697 | |||
698 | |||
699 | |||
700 | state 56 |
||
701 | |||
702 | $ go to state 57 |
||
703 | |||
704 | |||
705 | |||
706 | state 57 |
||
707 | |||
708 | $default accept |
||
709 | |||
710 |