1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
|
package provide DS9 1.0
######
# Begin autogenerated taccle (version 1.3) routines.
# Although taccle itself is protected by the GNU Public License (GPL)
# all user-supplied functions are protected by their respective
# author's license. See http://mini.net/tcl/taccle for other details.
######
namespace eval movie {
variable yylval {}
variable table
variable rules
variable token {}
variable yycnt 0
variable yyerr 0
variable save_state 0
namespace export yylex
}
proc movie::YYABORT {} {
return -code return 1
}
proc movie::YYACCEPT {} {
return -code return 0
}
proc movie::YYERROR {} {
variable yyerr
set yyerr 1
}
proc movie::yyclearin {} {
variable token
variable yycnt
set token {}
incr yycnt -1
}
proc movie::yyerror {s} {
puts stderr $s
}
proc movie::setupvalues {stack pointer numsyms} {
upvar 1 1 y
set y {}
for {set i 1} {$i <= $numsyms} {incr i} {
upvar 1 $i y
set y [lindex $stack $pointer]
incr pointer
}
}
proc movie::unsetupvalues {numsyms} {
for {set i 1} {$i <= $numsyms} {incr i} {
upvar 1 $i y
unset y
}
}
array set movie::table {
9:286 goto
6:259,target 15
47:272,target 20
63:266,target 24
33:261,target 19
56:259 reduce
48:0 reduce
56:261 reduce
56:262 reduce
60:274,target 21
59:274,target 26
29:268,target 54
56:263 reduce
45:263,target 33
56:264 reduce
56:265 reduce
56:266 reduce
42:271,target 32
57:265,target 38
64:0,target 25
56:271 reduce
56:272 reduce
56:273 reduce
26:268 shift
56:274 reduce
33:0,target 19
39:262,target 1
40:262,target 2
56:275 reduce
56:276 reduce
56:278 reduce
66:275,target 27
56:279 reduce
56:280 reduce
22:258,target 40
52:264,target 35
26:277 shift
48:272,target 29
64:266,target 25
34:261,target 17
45:279,target 33
45:280,target 33
61:274,target 22
46:263,target 34
63:0 reduce
58:265,target 18
62:259 reduce
39:278,target 1
40:278,target 2
62:261 reduce
62:262 reduce
41:262,target 31
62:263 reduce
62:264 reduce
62:265 reduce
32:259 reduce
67:275,target 28
62:266 reduce
32:261 shift
32:262 shift
53:264,target 36
32:263 shift
32:264 shift
62:271 reduce
61:0,target 22
32:265 shift
62:272 reduce
8:259,target 4
32:266 shift
49:272,target 30
65:266,target 26
62:273 reduce
62:274 reduce
62:275 reduce
62:276 reduce
32:271 shift
46:279,target 34
46:280,target 34
62:274,target 23
32:272 shift
35:0 reduce
62:278 reduce
32:273 shift
47:263,target 20
62:280 reduce
62:279 reduce
32:274 shift
32:275 shift
32:276 shift
60:265,target 21
59:265,target 21
32:278 shift
32:279 shift
32:280 shift
11:273,target 25
41:278,target 31
56:273,target 37
42:262,target 32
32:288 goto
9:259,target 14
67:259 reduce
66:266,target 27
67:261 reduce
67:262 reduce
67:263 reduce
37:257 shift
47:279,target 20
47:280,target 20
67:264 reduce
63:274,target 24
37:258 shift
67:265 reduce
18:257,target 39
48:263,target 29
67:266 reduce
49:0 reduce
45:271,target 33
67:271 reduce
61:265,target 22
57:0,target 38
67:272 reduce
67:273 reduce
67:274 reduce
42:278,target 32
67:275 reduce
57:273,target 38
67:276 reduce
67:278 reduce
67:280 reduce
67:279 reduce
37:281 goto
52:272,target 35
67:266,target 28
48:279,target 29
48:280,target 29
64:274,target 25
19:257,target 39
49:263,target 30
46:271,target 34
62:265,target 23
32:259,target 12
64:0 reduce
58:273,target 18
43:257 shift
43:258 shift
11:264,target 20
56:264,target 37
13:259 shift
53:272,target 36
2:259 shift
49:279,target 30
49:280,target 30
65:274,target 26
21:257,target 39
32:276,target 28
47:271,target 20
63:265,target 24
33:259,target 19
36:0 reduce
43:281 goto
2:270 shift
2:269 shift
60:273,target 21
59:273,target 25
45:262,target 33
0:274,target 6
57:264,target 38
39:261,target 1
40:261,target 2
2:286 goto
8:0,target 3
66:274,target 27
48:259 reduce
22:257,target 39
48:261 reduce
52:263,target 35
48:262 reduce
18:257 shift
48:263 reduce
18:258 shift
33:276,target 19
48:264 reduce
48:265 reduce
48:271,target 29
64:265,target 25
34:259,target 11
48:266 reduce
45:278,target 33
61:273,target 22
48:271 reduce
46:262,target 34
48:272 reduce
48:273 reduce
48:274 reduce
48:275 reduce
48:276 reduce
58:264,target 18
48:278 reduce
48:279 reduce
48:280 reduce
41:261,target 31
18:281 goto
52:279,target 35
52:280,target 35
67:274,target 28
23:257,target 47
53:263,target 36
34:276,target 28
49:271,target 30
65:265,target 26
46:278,target 34
62:273,target 23
54:257 shift
47:262,target 20
65:0 reduce
24:257 shift
60:264,target 21
59:264,target 20
47:0,target 20
11:272,target 24
56:272,target 37
16:0,target 8
42:261,target 32
53:279,target 36
53:280,target 36
24:257,target 48
66:265,target 27
36:259,target 9
47:278,target 20
63:273,target 24
48:262,target 29
61:264,target 22
11:288,target 33
0:282,target 7
57:272,target 38
60:259 reduce
59:259 reduce
60:261 reduce
59:261 shift
60:262 reduce
59:262 shift
25:257,target 49
60:263 reduce
59:263 shift
30:257 shift
60:264 reduce
59:264 shift
60:265 reduce
59:265 shift
60:266 reduce
59:266 shift
52:271,target 35
67:265,target 28
60:271 reduce
59:271 shift
48:278,target 29
64:273,target 25
60:272 reduce
59:272 shift
60:273 reduce
59:273 shift
49:262,target 30
60:274 reduce
59:274 shift
29:268 shift
60:275 reduce
59:275 shift
60:276 reduce
59:276 shift
62:264,target 23
60:278 reduce
59:278 shift
52:0 reduce
60:280 reduce
60:279 reduce
59:280 shift
59:279 shift
58:272,target 18
29:277 shift
59:288 goto
11:263,target 19
56:263,target 37
53:271,target 36
49:278,target 30
65:273,target 26
65:259 reduce
65:261 reduce
65:262 reduce
65:263 reduce
32:275,target 27
65:264 reduce
65:265 reduce
63:264,target 24
41:0,target 31
65:266 reduce
66:0 reduce
60:272,target 21
59:272,target 24
65:271 reduce
45:261,target 33
65:272 reduce
65:273 reduce
11:280,target 31
11:279,target 30
65:274 reduce
56:279,target 37
56:280,target 37
65:275 reduce
65:276 reduce
27:257,target 52
57:263,target 38
65:278 reduce
65:280 reduce
65:279 reduce
39:259,target 1
40:259,target 2
8:283,target 13
66:273,target 27
52:262,target 35
33:275,target 19
64:264,target 25
59:288,target 58
61:272,target 22
46:261,target 34
57:279,target 38
57:280,target 38
58:263,target 18
28:257,target 53
41:259 reduce
39:276,target 1
40:276,target 2
41:261 reduce
41:262 reduce
41:259,target 31
41:263 reduce
41:264 reduce
11:259 reduce
41:265 reduce
11:261 shift
41:266 reduce
52:278,target 35
67:273,target 28
11:262 shift
11:263 shift
53:262,target 36
11:264 shift
18:281,target 41
11:265 shift
41:271 reduce
11:266 shift
0:260 shift
0:259 shift
34:275,target 27
41:272 reduce
41:273 reduce
65:264,target 26
11:0 reduce
41:274 reduce
41:275 reduce
11:271 shift
41:276 reduce
11:272 shift
62:272,target 23
11:273 shift
32:266,target 22
41:278 reduce
11:274 shift
0:267 shift
41:279 reduce
41:280 reduce
47:261,target 20
11:275 shift
53:0 reduce
11:276 shift
0:270 shift
0:269 shift
58:280,target 18
58:279,target 18
11:278 shift
60:263,target 21
59:263,target 19
30:257,target 56
11:280 shift
11:279 shift
0:274 shift
11:271,target 23
41:276,target 31
56:271,target 37
42:259,target 32
11:287 goto
11:288 goto
0:282 goto
53:278,target 36
65:0,target 26
0:284 goto
0:285 goto
19:281,target 42
0:286 goto
34:0,target 11
46:259 reduce
66:264,target 27
46:261 reduce
46:262 reduce
46:263 reduce
46:264 reduce
63:272,target 24
16:259 reduce
33:266,target 19
46:265 reduce
46:266 reduce
48:261,target 29
60:280,target 21
60:279,target 21
59:280,target 31
59:279,target 30
46:271 reduce
67:0 reduce
61:263,target 22
31:257,target 57
5:259 reduce
46:272 reduce
11:287,target 32
46:273 reduce
46:274 reduce
42:276,target 32
46:275 reduce
46:276 reduce
57:271,target 38
46:278 reduce
46:279 reduce
46:280 reduce
21:281,target 45
67:264,target 28
37:258,target 40
64:272,target 25
34:266,target 22
49:261,target 30
62:0,target 23
61:280,target 22
61:279,target 22
39:0 reduce
40:0 reduce
62:263,target 23
52:259 reduce
52:261 reduce
52:262 reduce
58:271,target 18
22:257 shift
52:263 reduce
22:258 shift
52:264 reduce
52:265 reduce
52:266 reduce
11:262,target 18
56:262,target 37
52:271 reduce
22:281,target 46
52:272 reduce
52:273 reduce
52:274 reduce
38:258,target 40
52:275 reduce
52:276 reduce
52:278 reduce
65:272,target 26
52:279 reduce
52:280 reduce
62:280,target 23
62:279,target 23
32:274,target 26
63:263,target 24
22:281 goto
60:271,target 21
59:271,target 23
45:259,target 33
11:278,target 29
56:278,target 37
58:0,target 18
57:262,target 38
57:259 reduce
57:261 reduce
57:262 reduce
27:257 shift
57:263 reduce
57:264 reduce
57:265 reduce
66:272,target 27
57:266 reduce
52:261,target 35
63:280,target 24
63:279,target 24
33:274,target 19
57:271 reduce
57:272 reduce
64:263,target 25
57:273 reduce
57:274 reduce
57:275 reduce
45:276,target 33
57:276 reduce
61:271,target 22
46:259,target 34
57:278 reduce
57:279 reduce
57:280 reduce
57:278,target 38
1:0 reduce
58:262,target 18
39:275,target 1
40:275,target 2
67:272,target 28
53:261,target 36
64:280,target 25
64:279,target 25
34:274,target 26
65:263,target 26
63:259 reduce
63:261 reduce
63:262 reduce
63:263 reduce
46:276,target 34
63:264 reduce
62:271,target 23
32:265,target 21
41:0 reduce
63:265 reduce
33:259 reduce
47:259,target 20
63:266 reduce
33:261 reduce
33:262 reduce
58:278,target 18
33:263 reduce
33:264 reduce
63:271 reduce
60:262,target 21
59:262,target 18
33:265 reduce
63:272 reduce
33:266 reduce
63:273 reduce
63:274 reduce
41:275,target 31
63:275 reduce
63:276 reduce
33:271 reduce
33:272 reduce
63:278 reduce
33:273 reduce
63:280 reduce
63:279 reduce
33:274 reduce
33:275 reduce
33:276 reduce
33:278 reduce
65:280,target 26
65:279,target 26
33:279 reduce
33:280 reduce
66:263,target 27
47:276,target 20
63:271,target 24
33:265,target 19
48:259,target 29
60:278,target 21
59:278,target 29
52:0,target 35
61:262,target 22
42:275,target 32
38:257 shift
43:258,target 40
38:258 shift
39:266,target 1
40:266,target 2
66:280,target 27
66:279,target 27
67:263,target 28
37:257,target 39
48:276,target 29
64:271,target 25
34:265,target 21
49:259,target 30
61:278,target 22
62:262,target 23
38:281 goto
44:258,target 40
11:261,target 17
41:266,target 31
48:0,target 29
56:261,target 37
67:280,target 28
67:279,target 28
38:257,target 39
44:257 shift
44:258 shift
49:276,target 30
65:271,target 26
62:278,target 23
32:273,target 25
14:259 reduce
63:262,target 24
42:0 reduce
3:259 reduce
42:266,target 32
57:261,target 38
44:281 goto
3:269 reduce
3:270 reduce
66:271,target 27
52:259,target 35
45:0,target 33
63:278,target 24
14:0 reduce
33:273,target 19
64:262,target 25
14:0,target 7
45:275,target 33
50:257 shift
56:0 reduce
49:259 reduce
49:261 reduce
49:262 reduce
19:257 shift
49:263 reduce
19:258 shift
49:264 reduce
58:261,target 18
49:265 reduce
49:266 reduce
39:274,target 1
40:274,target 2
49:271 reduce
8:259 reduce
49:272 reduce
49:273 reduce
52:276,target 35
67:271,target 28
20:268 shift
49:274 reduce
49:275 reduce
53:259,target 36
49:276 reduce
64:278,target 25
34:273,target 25
49:278 reduce
49:279 reduce
49:280 reduce
65:262,target 26
20:277 shift
46:275,target 34
32:264,target 20
19:281 goto
42:0,target 32
60:261,target 21
59:261,target 17
11:0,target 10
8:283 goto
41:274,target 31
55:257 shift
53:276,target 36
25:257 shift
65:278,target 26
66:262,target 27
47:275,target 20
33:264,target 19
45:266,target 33
61:261,target 22
42:274,target 32
43:257,target 39
10:259,target 16
39:265,target 1
40:265,target 2
66:278,target 27
67:262,target 28
48:275,target 29
34:264,target 20
61:259 reduce
61:261 reduce
61:262 reduce
61:263 reduce
31:257 shift
61:264 reduce
46:266,target 34
62:261,target 23
61:265 reduce
57:0 reduce
61:266 reduce
61:271 reduce
44:257,target 39
61:272 reduce
61:273 reduce
61:274 reduce
61:275 reduce
11:259,target 10
41:265,target 31
61:276 reduce
56:259,target 37
61:278 reduce
67:278,target 28
61:280 reduce
61:279 reduce
49:275,target 30
66:0,target 27
32:272,target 24
35:0,target 5
47:266,target 20
63:261,target 24
66:259 reduce
11:276,target 28
0:270,target 5
0:269,target 4
66:261 reduce
56:276,target 37
66:262 reduce
12:259,target 34
42:265,target 32
66:263 reduce
57:259,target 38
66:264 reduce
66:265 reduce
36:259 reduce
66:266 reduce
66:271 reduce
66:272 reduce
66:273 reduce
66:274 reduce
66:275 reduce
32:288,target 58
66:276 reduce
17:277,target 38
33:272,target 19
66:278 reduce
48:266,target 29
66:280 reduce
66:279 reduce
64:261,target 25
45:274,target 33
0:286,target 10
63:0,target 24
57:276,target 38
13:259,target 35
32:0,target 12
58:259,target 18
39:273,target 1
40:273,target 2
52:275,target 35
34:272,target 24
42:259 reduce
49:266,target 30
65:261,target 26
16:0 reduce
42:261 reduce
42:262 reduce
42:263 reduce
42:264 reduce
46:274,target 34
12:259 shift
32:263,target 19
42:265 reduce
42:266 reduce
58:0 reduce
2:270,target 5
2:269,target 4
58:276,target 18
14:259,target 7
42:271 reduce
60:259,target 21
59:259,target 13
1:259 reduce
42:272 reduce
42:273 reduce
42:274 reduce
41:273,target 31
42:275 reduce
42:276 reduce
42:278 reduce
37:281,target 60
42:279 reduce
42:280 reduce
60:0,target 21
59:0,target 13
53:275,target 36
34:288,target 33
20:277,target 44
66:261,target 27
32:279,target 30
32:280,target 31
17:268,target 37
47:274,target 20
33:263,target 19
2:286,target 12
3:269,target 14
3:270,target 14
60:276,target 21
59:276,target 28
15:259,target 36
45:265,target 33
61:259,target 22
47:259 reduce
47:261 reduce
42:273,target 32
47:262 reduce
47:263 reduce
47:264 reduce
47:265 reduce
38:281,target 61
47:266 reduce
39:264,target 1
40:264,target 2
47:271 reduce
6:259 reduce
47:272 reduce
47:273 reduce
17:268 shift
47:274 reduce
52:266,target 35
67:261,target 28
47:275 reduce
47:276 reduce
33:279,target 19
33:280,target 19
47:278 reduce
48:274,target 29
34:263,target 19
47:279 reduce
47:280 reduce
50:257,target 64
56:0,target 37
6:269 reduce
6:270 reduce
17:277 shift
61:276,target 22
45:0 reduce
16:259,target 8
46:265,target 34
62:259,target 23
41:264,target 31
53:259 reduce
53:261 reduce
53:266,target 36
53:262 reduce
23:257 shift
53:263 reduce
34:279,target 30
34:280,target 31
53:264 reduce
20:268,target 43
49:274,target 30
53:265 reduce
53:266 reduce
51:257,target 65
62:276,target 23
32:271,target 23
53:271 reduce
47:265,target 20
53:272 reduce
63:259,target 24
53:273 reduce
53:274 reduce
60:0 reduce
59:0 reduce
53:275 reduce
53:276 reduce
53:278 reduce
53:279 reduce
53:280 reduce
11:275,target 27
53:0,target 36
56:275,target 37
42:264,target 32
6:270,target 15
6:269,target 15
63:276,target 24
33:271,target 19
48:265,target 29
64:259,target 25
32:0 reduce
58:259 reduce
58:261 reduce
58:262 reduce
58:263 reduce
28:257 shift
45:273,target 33
58:264 reduce
58:265 reduce
0:285,target 9
58:266 reduce
57:275,target 38
58:271 reduce
58:272 reduce
58:273 reduce
58:274 reduce
7:0,target 0
39:272,target 1
40:272,target 2
58:275 reduce
58:276 reduce
58:278 reduce
58:280 reduce
58:279 reduce
52:274,target 35
49:0,target 30
64:276,target 25
34:271,target 23
49:265,target 30
65:259,target 26
46:273,target 34
32:262,target 18
46:0 reduce
43:281,target 62
58:275,target 18
64:259 reduce
64:261 reduce
11:266,target 22
0:259,target 1
0:260,target 2
41:272,target 31
64:262 reduce
56:266,target 37
64:263 reduce
64:264 reduce
64:265 reduce
34:259 reduce
64:266 reduce
34:261 shift
53:274,target 36
34:262 shift
34:263 shift
54:257,target 66
34:287,target 59
34:264 shift
64:271 reduce
34:265 shift
65:276,target 26
64:272 reduce
34:266 shift
64:273 reduce
66:259,target 27
64:274 reduce
64:275 reduce
64:276 reduce
32:278,target 29
34:271 shift
34:272 shift
47:273,target 20
64:278 reduce
33:262,target 19
34:273 shift
64:280 reduce
64:279 reduce
34:274 shift
34:275 shift
46:0,target 34
34:276 shift
44:281,target 63
61:0 reduce
60:275,target 21
59:275,target 27
34:278 shift
45:264,target 33
34:279 shift
34:280 shift
26:277,target 51
1:259,target 6
42:272,target 32
57:266,target 38
34:287 goto
34:288 goto
39:263,target 1
40:263,target 2
55:257,target 67
9:269,target 4
9:270,target 5
66:276,target 27
52:265,target 35
67:259,target 28
33:278,target 19
48:273,target 29
34:262,target 18
39:259 reduce
40:259 reduce
39:261 reduce
40:261 reduce
33:0 reduce
39:262 reduce
40:262 reduce
39:263 reduce
40:263 reduce
61:275,target 22
39:264 reduce
40:264 reduce
10:259 shift
39:265 reduce
40:265 reduce
46:264,target 34
39:266 reduce
40:266 reduce
1:0,target 6
2:259,target 11
58:266,target 18
39:271 reduce
40:271 reduce
7:0 accept
39:272 reduce
40:272 reduce
39:273 reduce
40:273 reduce
39:274 reduce
39:279,target 1
39:280,target 1
40:274 reduce
40:279,target 2
40:280,target 2
39:275 reduce
40:275 reduce
39:276 reduce
40:276 reduce
41:263,target 31
9:286,target 15
39:278 reduce
40:278 reduce
39:279 reduce
39:280 reduce
40:279 reduce
40:280 reduce
67:276,target 28
53:265,target 36
34:278,target 29
49:273,target 30
62:275,target 23
47:264,target 20
47:0 reduce
3:259,target 14
60:266,target 21
59:266,target 22
45:259 reduce
11:274,target 26
0:267,target 3
41:279,target 31
41:280,target 31
45:261 reduce
26:268,target 50
45:262 reduce
56:274,target 37
42:263,target 32
45:263 reduce
45:264 reduce
15:259 shift
45:265 reduce
45:266 reduce
45:271 reduce
4:259 reduce
45:272 reduce
45:273 reduce
45:274 reduce
39:0,target 1
40:0,target 2
45:275 reduce
45:276 reduce
63:275,target 24
45:278 reduce
18:258,target 40
45:279 reduce
45:280 reduce
48:264,target 29
29:277,target 55
4:259,target 17
45:272,target 33
62:0 reduce
61:266,target 22
0:284,target 8
42:279,target 32
42:280,target 32
57:274,target 38
39:271,target 1
40:271,target 2
51:257 shift
52:273,target 35
21:257 shift
21:258 shift
64:275,target 25
19:258,target 40
49:264,target 30
34:0 reduce
67:0,target 28
5:259,target 16
46:272,target 34
62:266,target 23
32:261,target 17
9:259 shift
36:0,target 9
58:274,target 18
8:0 reduce
11:265,target 21
9:269 shift
9:270 shift
41:271,target 31
56:265,target 37
21:281 goto
53:273,target 36
65:275,target 26
21:258,target 40
}
array set movie::rules {
9,l 284
11,l 284
32,l 288
6,l 284
28,l 288
3,l 282
25,l 288
0,l 289
22,l 288
18,l 287
15,l 285
36,l 288
12,l 284
33,l 288
7,l 284
29,l 288
30,l 288
4,l 283
26,l 288
1,l 281
23,l 288
19,l 287
20,l 288
16,l 286
37,l 288
13,l 284
34,l 288
8,l 284
10,l 284
31,l 288
5,l 282
27,l 288
2,l 281
24,l 288
21,l 288
17,l 286
38,l 288
14,l 285
35,l 288
}
array set movie::rules {
12,dc 3
26,dc 3
3,dc 1
18,dc 2
33,dc 2
9,dc 3
11,dc 3
25,dc 3
2,dc 1
17,dc 1
32,dc 2
8,dc 2
10,dc 2
24,dc 3
1,dc 1
38,dc 2
16,dc 1
31,dc 2
7,dc 2
23,dc 3
0,dc 1
37,dc 2
15,dc 1
29,dc 2
30,dc 2
6,dc 1
22,dc 3
36,dc 2
14,dc 1
28,dc 3
5,dc 3
21,dc 3
35,dc 2
13,dc 4
27,dc 3
4,dc 0
19,dc 1
20,dc 2
34,dc 2
}
array set movie::rules {
7,line 53
37,line 98
4,line 46
34,line 95
1,line 42
31,line 92
27,line 85
24,line 82
21,line 79
17,line 71
14,line 66
11,line 59
9,line 56
6,line 51
36,line 97
3,line 46
33,line 94
4,e 1
29,line 88
30,line 91
26,line 84
23,line 81
19,line 75
20,line 78
16,line 70
13,line 63
10,line 58
8,line 54
38,line 99
5,line 47
35,line 96
2,line 43
32,line 93
28,line 86
25,line 83
22,line 80
18,line 74
15,line 67
12,line 61
}
array set movie::lr1_table {
66,trans {}
35 {{5 0 3}}
36 {{9 {0 259} 3}}
14,trans {}
33,trans {}
37 {{21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
52,trans {}
38 {{22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
40 {{2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
39 {{1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
18,trans {{257 39} {258 40} {281 41}}
41 {{31 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
1,trans {}
37,trans {{257 39} {258 40} {281 60}}
42 {{32 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
56,trans {}
43 {{23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
44 {{24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
23,trans {{257 47}}
45 {{33 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
5,trans {}
42,trans {}
46 {{34 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
61,trans {}
47 {{20 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
48 {{29 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
27,trans {{257 52}}
50 {{25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
49 {{30 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
9,trans {{259 14} {269 4} {270 5} {286 15}}
46,trans {}
51 {{26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
65,trans {}
52 {{35 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
53 {{36 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
13,trans {{259 35}}
32,trans {{261 17} {262 18} {263 19} {264 20} {265 21} {266 22} {271 23} {272 24} {273 25} {274 26} {275 27} {276 28} {278 29} {279 30} {280 31} {288 58}}
54 {{27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
51,trans {{257 65}}
55 {{28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
56 {{37 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
57 {{38 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
17,trans {{268 37} {277 38}}
0,trans {{259 1} {260 2} {267 3} {269 4} {270 5} {274 6} {282 7} {284 8} {285 9} {286 10}}
36,trans {}
58 {{18 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 2}}
55,trans {{257 67}}
60 {{21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
59 {{13 {0 259} 4} {18 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {20 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {29 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {30 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {31 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {32 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {33 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {34 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {35 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {36 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {37 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {38 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
61 {{22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
62 {{23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
22,trans {{257 39} {258 40} {281 46}}
4,trans {}
63 {{24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
41,trans {}
60,trans {}
59,trans {{261 17} {262 18} {263 19} {264 20} {265 21} {266 22} {271 23} {272 24} {273 25} {274 26} {275 27} {276 28} {278 29} {279 30} {280 31} {288 58}}
64 {{25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
65 {{26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
66 {{27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
26,trans {{268 50} {277 51}}
8,trans {{283 13}}
67 {{28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 3}}
45,trans {}
64,trans {}
12,trans {{259 34}}
31,trans {{257 57}}
50,trans {{257 64}}
49,trans {}
16,trans {}
35,trans {}
54,trans {{257 66}}
21,trans {{257 39} {258 40} {281 45}}
3,trans {}
40,trans {}
39,trans {}
58,trans {}
10 {{8 {0 259} 1}}
11 {{10 {0 259} 2} {12 {0 259} 2} {18 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {19 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {20 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {29 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {30 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {31 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {32 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {33 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {34 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {35 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {36 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {37 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {38 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
25,trans {{257 49}}
12 {{11 {0 259} 2} {13 {0 259} 2}}
7,trans {}
44,trans {{257 39} {258 40} {281 63}}
13 {{5 0 2}}
63,trans {}
14 {{7 {0 259} 2}}
15 {{9 {0 259} 2}}
11,trans {{261 17} {262 18} {263 19} {264 20} {265 21} {266 22} {271 23} {272 24} {273 25} {274 26} {275 27} {276 28} {278 29} {279 30} {280 31} {287 32} {288 33}}
30,trans {{257 56}}
29,trans {{268 54} {277 55}}
16 {{8 {0 259} 2}}
48,trans {}
0 {{0 0 0} {3 0 0} {5 0 0} {6 {0 259} 0} {7 {0 259} 0} {8 {0 259} 0} {9 {0 259} 0} {10 {0 259} 0} {11 {0 259} 0} {12 {0 259} 0} {13 {0 259} 0} {14 {259 269 270} 0} {15 {259 269 270} 0} {16 259 0} {17 259 0}}
17 {{21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
67,trans {}
1 {{6 {0 259} 1}}
18 {{31 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
15,trans {{259 36}}
2 {{10 {0 259} 1} {11 {0 259} 1} {12 {0 259} 1} {13 {0 259} 1} {16 259 0} {17 259 0}}
19 {{32 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
20 {{23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
34,trans {{261 17} {262 18} {263 19} {264 20} {265 21} {266 22} {271 23} {272 24} {273 25} {274 26} {275 27} {276 28} {278 29} {279 30} {280 31} {287 59} {288 33}}
3 {{14 {259 269 270} 1}}
21 {{33 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
53,trans {}
4 {{17 259 1}}
22 {{34 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {1 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {2 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
5 {{16 259 1}}
23 {{20 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
20,trans {{268 43} {277 44}}
19,trans {{257 39} {258 40} {281 42}}
6 {{15 {259 269 270} 1}}
2,trans {{259 11} {269 4} {270 5} {286 12}}
24 {{29 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
38,trans {{257 39} {258 40} {281 61}}
7 {{0 0 1}}
25 {{30 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
57,trans {}
8 {{3 0 1} {5 0 1} {4 259 0}}
26 {{25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
9 {{7 {0 259} 1} {9 {0 259} 1} {16 259 0} {17 259 0}}
27 {{35 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
24,trans {{257 48}}
6,trans {}
28 {{36 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
43,trans {{257 39} {258 40} {281 62}}
29 {{27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
30 {{37 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
62,trans {}
31 {{38 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
10,trans {{259 16}}
32 {{12 {0 259} 3} {18 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1} {20 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {29 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {30 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {31 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {32 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {33 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {34 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {35 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {36 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {37 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {38 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
28,trans {{257 53}}
33 {{19 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 1}}
47,trans {}
34 {{11 {0 259} 3} {13 {0 259} 3} {18 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {19 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {20 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {21 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {22 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {23 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {24 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {25 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {26 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {27 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {28 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {29 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {30 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {31 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {32 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {33 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {34 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {35 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {36 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {37 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0} {38 {0 259 261 262 263 264 265 266 271 272 273 274 275 276 278 279 280} 0}}
}
array set movie::token_id_table {
286,t 1
286 type
280,title ZMTO
279,title ZMFROM
264,line 18
287 opts
270,t 0
269,t 0
288 opt
289 start'
276,line 30
265,title ELFROM
284,title {}
274,t 0
261,line 15
288,line 77
257,t 0
270,title MPEG
269,title GIF
288,title {}
273,line 27
278,t 0
257,line 7
262,t 0
285,line 65
274,title SLICE
283,t 1
270,line 24
269,line 23
259,title string
260,title 3D
266,t 0
278,title ZOOM
282,line 45
287,t 1
error error
271,t 0
264,title EL
266,line 20
283,title {}
278,line 32
error,line 40
275,t 0
268,title FROM
287,title {}
258,t 0
263,line 17
error,title {}
280,t 0
279,t 0
275,line 29
273,title REPEAT
263,t 0
259,line 10
260,line 14
287,line 73
258,title float
284,t 1
277,title TO
272,line 26
267,t 0
263,title AZTO
288,t 1
284,line 49
282,title {}
272,t 0
268,line 22
267,title FRAME
286,title {}
257 INT_
281,line 41
276,t 0
258 REAL_
259,t 0
259 STRING_
260 3D_
260,t 0
272,title OSCILLATE
261 AZ_
265,line 19
262 AZFROM_
281,t 1
263 AZTO_
277,line 31
257,title integer
264 EL_
264,t 0
276,title SLTO
265 ELFROM_
262,line 16
266 ELTO_
289,line 100
285,t 1
267 FRAME_
0,t 0
0 {$}
262,title AZFROM
268 FROM_
268,t 0
281,title {}
274,line 28
270 MPEG_
269 GIF_
error,t 0
271 NUMBER_
289,t 1
272 OSCILLATE_
258,line 8
286,line 69
273,t 0
273 REPEAT_
266,title ELTO
285,title {}
274 SLICE_
275 SLFROM_
271,line 25
276 SLTO_
277,t 0
277 TO_
271,title NUMBER
289,title {}
283,line 46
278 ZOOM_
261,t 0
280 ZMTO_
279 ZMFROM_
281 numeric
267,line 21
282,t 1
282 command
275,title SLFROM
283 @PSEUDO1
265,t 0
284 movie
280,line 34
279,line 33
285 action
261,title AZ
}
proc movie::yyparse {} {
variable yylval
variable table
variable rules
variable token
variable yycnt
variable lr1_table
variable token_id_table
variable yyerr
variable save_state
set yycnt 0
set state_stack {0}
set value_stack {{}}
set token ""
set accepted 0
set yyerr 0
set save_state 0
while {$accepted == 0} {
set state [lindex $state_stack end]
if {$token == ""} {
set yylval ""
set token [yylex]
set buflval $yylval
if {$token>0} {
incr yycnt
}
}
if {![info exists table($state:$token)] || $yyerr} {
if {!$yyerr} {
set save_state $state
}
# pop off states until error token accepted
while {[llength $state_stack] > 0 && \
![info exists table($state:error)]} {
set state_stack [lrange $state_stack 0 end-1]
set value_stack [lrange $value_stack 0 \
[expr {[llength $state_stack] - 1}]]
set state [lindex $state_stack end]
}
if {[llength $state_stack] == 0} {
set rr { }
if {[info exists lr1_table($save_state,trans)] && [llength $lr1_table($save_state,trans)] >= 1} {
foreach trans $lr1_table($save_state,trans) {
foreach {tok_id nextstate} $trans {
set ss $token_id_table($tok_id,title)
if {$ss != {}} {
append rr "$ss, "
}
}
}
}
set rr [string trimleft $rr { }]
set rr [string trimright $rr {, }]
yyerror "parse error, expecting: $rr"
return 1
}
lappend state_stack [set state $table($state:error,target)]
lappend value_stack {}
# consume tokens until it finds an acceptable one
while {![info exists table($state:$token)]} {
if {$token == 0} {
yyerror "end of file while recovering from error"
return 1
}
set yylval {}
set token [yylex]
set buflval $yylval
}
continue
}
switch -- $table($state:$token) {
shift {
lappend state_stack $table($state:$token,target)
lappend value_stack $buflval
set token ""
}
reduce {
set rule $table($state:$token,target)
set ll $rules($rule,l)
if {[info exists rules($rule,e)]} {
set dc $rules($rule,e)
} else {
set dc $rules($rule,dc)
}
set stackpointer [expr {[llength $state_stack]-$dc}]
setupvalues $value_stack $stackpointer $dc
set _ $1
set yylval [lindex $value_stack end]
switch -- $rule {
1 { set _ $1 }
2 { set _ $1 }
4 { global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT} }
6 { ProcessCmdSet2 movie action slice type [ExtToFormat $1]; MovieCreate $1 }
7 { ProcessCmdSet2 movie action $1 type [ExtToFormat $2]; MovieCreate $2 }
8 { ProcessCmdSet2 movie action slice type $1; MovieCreate $2 }
9 { ProcessCmdSet2 movie action $1 type $2; MovieCreate $3 }
10 { ProcessCmdSet2 movie action 3d type [ExtToFormat $2]; MovieCreate $2 }
11 { ProcessCmdSet2 movie action 3d type $2; MovieCreate $3 }
12 { ProcessCmdSet2 movie action 3d type [ExtToFormat $2]; MovieCreate $2 }
13 { ProcessCmdSet2 movie action 3d type $2; MovieCreate $3 }
14 { set _ frame }
15 { set _ slice }
16 { set _ mpeg }
17 { set _ gif }
20 { ProcessCmdSet movie num $2 }
21 { ProcessCmdSet movie az,from $3 }
22 { ProcessCmdSet movie az,to $3 }
23 { ProcessCmdSet movie el,from $3 }
24 { ProcessCmdSet movie el,to $3 }
25 { ProcessCmdSet movie sl,from $3 }
26 { ProcessCmdSet movie sl,to $3 }
27 { ProcessCmdSet movie zm,from $3 }
28 { ProcessCmdSet movie zm,to $3 }
29 { ProcessCmdSet movie repeat oscillate; ProcessCmdSet movie repeat,num $2 }
30 { ProcessCmdSet movie repeat repeat; ProcessCmdSet movie repeat,num $2 }
31 { ProcessCmdSet movie az,from $2 }
32 { ProcessCmdSet movie az,to $2 }
33 { ProcessCmdSet movie el,from $2 }
34 { ProcessCmdSet movie el,to $2 }
35 { ProcessCmdSet movie sl,from $2 }
36 { ProcessCmdSet movie sl,to $2 }
37 { ProcessCmdSet movie zm,from $2 }
38 { ProcessCmdSet movie zm,to $2 }
}
unsetupvalues $dc
# pop off tokens from the stack if normal rule
if {![info exists rules($rule,e)]} {
incr stackpointer -1
set state_stack [lrange $state_stack 0 $stackpointer]
set value_stack [lrange $value_stack 0 $stackpointer]
}
# now do the goto transition
lappend state_stack $table([lindex $state_stack end]:$ll,target)
lappend value_stack $_
}
accept {
set accepted 1
}
goto -
default {
puts stderr "Internal parser error: illegal command $table($state:$token)"
return 2
}
}
}
return 0
}
######
# end autogenerated taccle functions
######
proc movie::yyerror {msg} {
variable yycnt
variable yy_current_buffer
variable index_
ParserError $msg $yycnt $yy_current_buffer $index_
}
|