File: user.output

package info (click to toggle)
mmorph 2.3.4.2-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 912 kB
  • ctags: 904
  • sloc: ansic: 4,992; yacc: 1,215; lex: 417; makefile: 296; sh: 48; sed: 33; csh: 26
file content (2319 lines) | stat: -rw-r--r-- 42,689 bytes parent folder | download | duplicates (7)
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
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319


Terminals which are not used:

   SNAME



Grammar
rule 1    Start -> AlphabetDecl AttDecl TypeDecl GramDecl ClassDeclOPT PairDeclOPT SpellDeclOPT LexDeclSTAR
rule 2    AttDecl -> AttHead AttDefPLUS
rule 3    AttHead -> ATTRIBUTES
rule 4    AttDef -> AttNew COLON ValNewPLUS
rule 5    AttNew -> DNAME
rule 6    ValNew -> NAME
rule 7    TypeDecl -> TypeHead TypeDefPLUS
rule 8    TypeHead -> TYPES
rule 9    TypeDef -> TypeNew COLON AttNamePLUS NoProjectAttOPTL
rule 10   NoProjectAttOPTL -> ProjSep AttNamePLUS
rule 11   NoProjectAttOPTL ->		/* empty */
rule 12   ProjSep -> BAR
rule 13   TypeNew -> DNAME
rule 14   AttName -> NAME
rule 15   GramDecl -> GramHead RulePLUS
rule 16   GramHead -> GRAMMAR
rule 17   Rule -> RuleNew COLON RuleBody
rule 18   RuleBody -> VarTfs Rewrite Rhs
rule 19   RuleBody -> Affix
rule 20   RuleBody -> Tfs
rule 21   Rewrite -> LARROW
rule 22   VarTfs -> Tfs
rule 23   AffixString -> LSTRING
rule 24   RuleNew -> DNAME
rule 25   Tfs -> TypeName AttSpec
rule 26   TypeName -> TNAME
rule 27   AttSpec -> LBRA AttValSTAR RBRA
rule 28   AttVal -> AttName ValSpec
rule 29   ValSpec -> ValSetSpec
rule 30   ValSpec -> EQUAL DOLLAR VarName
rule 31   ValSpec -> EQUAL DOLLAR VarName ValSetSpec
rule 32   VarName -> NAME
rule 33   ValSetSpec -> ValSet
rule 34   ValSet -> NOTEQUAL ValDisj
rule 35   ValSet -> EQUAL ValDisj
rule 36   ValDisj -> ValName ValDisjRestSTAR
rule 37   ValName -> NAME
rule 38   ValDisjRest -> BAR ValName
rule 39   Rhs -> VarTfs
rule 40   Rhs -> VarTfs VarTfs
rule 41   Rhs -> Affix VarTfs
rule 42   Rhs -> VarTfs Affix
rule 43   Affix -> AffixString Tfs
rule 44   AttDefPLUS -> AttDefPLUS AttDef
rule 45   AttDefPLUS -> AttDef
rule 46   ValNewPLUS -> ValNewPLUS ValNew
rule 47   ValNewPLUS -> ValNew
rule 48   TypeDefPLUS -> TypeDefPLUS TypeDef
rule 49   TypeDefPLUS -> TypeDef
rule 50   RulePLUS -> RulePLUS Rule
rule 51   RulePLUS -> Rule
rule 52   AttValSTAR -> AttValSTAR AttVal
rule 53   AttValSTAR ->		/* empty */
rule 54   ValDisjRestSTAR -> ValDisjRestSTAR ValDisjRest
rule 55   ValDisjRestSTAR ->		/* empty */
rule 56   AttNamePLUS -> AttNamePLUS AttName
rule 57   AttNamePLUS -> AttName
rule 58   SpellDeclOPT -> SpellHead SpellDefPLUS
rule 59   SpellDeclOPT ->		/* empty */
rule 60   SpellHead -> SPELLING
rule 61   SpellDef -> SpellNew COLON Arrow LeftContext Focus RightContext ConstraintSTAR
rule 62   SpellNew -> DNAME
rule 63   SpellDefPLUS -> SpellDefPLUS SpellDef
rule 64   SpellDefPLUS -> SpellDef
rule 65   LeftContext -> PatternSTAR
rule 66   RightContext -> PatternSTAR
rule 67   Focus -> CONTEXTBOUNDARY PatternPLUS CONTEXTBOUNDARY
rule 68   Arrow -> RARROW
rule 69   Arrow -> BIARROW
rule 70   Arrow -> COERCEARROW
rule 71   ConstraintSTAR -> ConstraintSTAR Tfs
rule 72   ConstraintSTAR ->		/* empty */
rule 73   PatternPLUS -> PatternPLUS Pattern
rule 74   PatternPLUS -> Pattern
rule 75   PatternSTAR -> PatternPLUS
rule 76   PatternSTAR ->		/* empty */
rule 77   Pattern -> CONCATBOUNDARY
rule 78   Pattern -> MORPHEMEBOUNDARY
rule 79   Pattern -> WORDBOUNDARY
rule 80   Pattern -> PairPattern
rule 81   LexDeclSTAR -> LexDeclPLUS
rule 82   LexDeclSTAR ->		/* empty */
rule 83   LexDeclPLUS -> LexDeclPLUS LexHead LexDefSTAR
rule 84   LexDeclPLUS -> FirstLexHead LexDefSTAR
rule 85   LexHead -> LEXICON
rule 86   FirstLexHead -> LEXICON
rule 87   LexDef -> CommonTfs LexicalPLUS
rule 88   CommonTfs -> Tfs
rule 89   LexicalPLUS -> LexicalPLUS Lexical
rule 90   LexicalPLUS -> Lexical
rule 91   Lexical -> LexNew BaseFormOPTL
rule 92   BaseFormOPTL -> EQUAL LSTRING
rule 93   BaseFormOPTL ->		/* empty */
rule 94   LexNew -> LSTRING
rule 95   LexDefSTAR -> LexDefSTAR LexDef
rule 96   LexDefSTAR ->		/* empty */
rule 97   AlphabetDecl -> AlphabetHead AlphabetDef
rule 98   AlphabetHead -> ALPHABETS
rule 99   AlphabetDef -> LexicalNew COLON LetterNewPLUS SurfaceNew COLON LetterNewPLUS
rule 100  LexicalNew -> DNAME
rule 101  SurfaceNew -> DNAME
rule 102  LetterNewPLUS -> LetterNewPLUS LetterNew
rule 103  LetterNewPLUS -> LetterNew
rule 104  LetterNew -> NAME
rule 105  LetterNew -> STRING
rule 106  PairDeclOPT -> PairHead PairDefPLUS
rule 107  PairDeclOPT ->		/* empty */
rule 108  PairHead -> PAIRS
rule 109  PairDefPLUS -> PairDefPLUS PairDef
rule 110  PairDefPLUS -> PairDef
rule 111  PairDef -> PairNew COLON PairPLUS
rule 112  PairNew -> DNAME
rule 113  PairPLUS -> PairPLUS Pair
rule 114  PairPLUS -> Pair
rule 115  Pair -> SurfSequence SLASH LexSequence
rule 116  Pair -> PairName
rule 117  PairPattern -> SurfSequence SLASH LexSequence
rule 118  PairPattern -> PairName
rule 119  PairName -> NAME
rule 120  SurfSequence -> Sequence
rule 121  LexSequence -> Sequence
rule 122  Sequence -> LANGLE LetterSTAR RANGLE
rule 123  Sequence -> LSTRING
rule 124  Sequence -> NAME
rule 125  Sequence -> ANY
rule 126  LetterSTAR -> LetterSTAR NAME
rule 127  LetterSTAR ->		/* empty */
rule 128  ClassDeclOPT -> ClassHead ClassDefPLUS
rule 129  ClassDeclOPT ->		/* empty */
rule 130  ClassHead -> CLASSES
rule 131  ClassDefPLUS -> ClassDefPLUS ClassDef
rule 132  ClassDefPLUS -> ClassDef
rule 133  ClassDef -> ClassNew COLON ClassPLUS
rule 134  ClassNew -> DNAME
rule 135  ClassPLUS -> ClassPLUS Class
rule 136  ClassPLUS -> Class
rule 137  Class -> NAME
rule 138  Class -> STRING

Terminals, with rules where they appear

$ (-1)
error (256)
ANY (258) 125
BAR (259) 12 38
BIARROW (260) 69
WORDBOUNDARY (261) 79
CONTEXTBOUNDARY (262) 67
CONCATBOUNDARY (263) 77
MORPHEMEBOUNDARY (264) 78
DOLLAR (265) 30 31
EQUAL (266) 30 31 35 92
LANGLE (267) 122
LARROW (268) 21
LBRA (269) 27
NOTEQUAL (270) 34
RANGLE (271) 122
RARROW (272) 68
RBRA (273) 27
COERCEARROW (274) 70
COLON (275) 4 9 17 61 99 111 133
SLASH (276) 115 117
ALPHABETS (277) 98
ATTRIBUTES (278) 3
CLASSES (279) 130
GRAMMAR (280) 16
LEXICON (281) 85 86
PAIRS (282) 108
SPELLING (283) 60
TYPES (284) 8
DNAME (285) 5 13 24 62 100 101 112 134
NAME (286) 6 14 32 37 104 119 124 126 137
STRING (287) 105 138
SNAME (288)
TNAME (289) 26
LSTRING (290) 23 92 94 123

Nonterminals, with rules where they appear

Start (36)
    on left: 1
AttDecl (37)
    on left: 2, on right: 1
AttHead (38)
    on left: 3, on right: 2
AttDef (39)
    on left: 4, on right: 44 45
AttNew (40)
    on left: 5, on right: 4
ValNew (41)
    on left: 6, on right: 46 47
TypeDecl (42)
    on left: 7, on right: 1
TypeHead (43)
    on left: 8, on right: 7
TypeDef (44)
    on left: 9, on right: 48 49
NoProjectAttOPTL (45)
    on left: 10 11, on right: 9
ProjSep (46)
    on left: 12, on right: 10
TypeNew (47)
    on left: 13, on right: 9
AttName (48)
    on left: 14, on right: 28 56 57
GramDecl (49)
    on left: 15, on right: 1
GramHead (50)
    on left: 16, on right: 15
Rule (51)
    on left: 17, on right: 50 51
RuleBody (52)
    on left: 18 19 20, on right: 17
Rewrite (53)
    on left: 21, on right: 18
VarTfs (54)
    on left: 22, on right: 18 39 40 41 42
AffixString (55)
    on left: 23, on right: 43
RuleNew (56)
    on left: 24, on right: 17
Tfs (57)
    on left: 25, on right: 20 22 43 71 88
TypeName (58)
    on left: 26, on right: 25
AttSpec (59)
    on left: 27, on right: 25
AttVal (60)
    on left: 28, on right: 52
ValSpec (61)
    on left: 29 30 31, on right: 28
VarName (62)
    on left: 32, on right: 30 31
ValSetSpec (63)
    on left: 33, on right: 29 31
ValSet (64)
    on left: 34 35, on right: 33
ValDisj (65)
    on left: 36, on right: 34 35
ValName (66)
    on left: 37, on right: 36 38
ValDisjRest (67)
    on left: 38, on right: 54
Rhs (68)
    on left: 39 40 41 42, on right: 18
Affix (69)
    on left: 43, on right: 19 41 42
AttDefPLUS (70)
    on left: 44 45, on right: 2 44
ValNewPLUS (71)
    on left: 46 47, on right: 4 46
TypeDefPLUS (72)
    on left: 48 49, on right: 7 48
RulePLUS (73)
    on left: 50 51, on right: 15 50
AttValSTAR (74)
    on left: 52 53, on right: 27 52
ValDisjRestSTAR (75)
    on left: 54 55, on right: 36 54
AttNamePLUS (76)
    on left: 56 57, on right: 9 10 56
SpellDeclOPT (77)
    on left: 58 59, on right: 1
SpellHead (78)
    on left: 60, on right: 58
SpellDef (79)
    on left: 61, on right: 63 64
SpellNew (80)
    on left: 62, on right: 61
SpellDefPLUS (81)
    on left: 63 64, on right: 58 63
LeftContext (82)
    on left: 65, on right: 61
RightContext (83)
    on left: 66, on right: 61
Focus (84)
    on left: 67, on right: 61
Arrow (85)
    on left: 68 69 70, on right: 61
ConstraintSTAR (86)
    on left: 71 72, on right: 61 71
PatternPLUS (87)
    on left: 73 74, on right: 67 73 75
PatternSTAR (88)
    on left: 75 76, on right: 65 66
Pattern (89)
    on left: 77 78 79 80, on right: 73 74
LexDeclSTAR (90)
    on left: 81 82, on right: 1
LexDeclPLUS (91)
    on left: 83 84, on right: 81 83
LexHead (92)
    on left: 85, on right: 83
FirstLexHead (93)
    on left: 86, on right: 84
LexDef (94)
    on left: 87, on right: 95
CommonTfs (95)
    on left: 88, on right: 87
LexicalPLUS (96)
    on left: 89 90, on right: 87 89
Lexical (97)
    on left: 91, on right: 89 90
BaseFormOPTL (98)
    on left: 92 93, on right: 91
LexNew (99)
    on left: 94, on right: 91
LexDefSTAR (100)
    on left: 95 96, on right: 83 84 95
AlphabetDecl (101)
    on left: 97, on right: 1
AlphabetHead (102)
    on left: 98, on right: 97
AlphabetDef (103)
    on left: 99, on right: 97
LexicalNew (104)
    on left: 100, on right: 99
SurfaceNew (105)
    on left: 101, on right: 99
LetterNewPLUS (106)
    on left: 102 103, on right: 99 102
LetterNew (107)
    on left: 104 105, on right: 102 103
PairDeclOPT (108)
    on left: 106 107, on right: 1
PairHead (109)
    on left: 108, on right: 106
PairDefPLUS (110)
    on left: 109 110, on right: 106 109
PairDef (111)
    on left: 111, on right: 109 110
PairNew (112)
    on left: 112, on right: 111
PairPLUS (113)
    on left: 113 114, on right: 111 113
Pair (114)
    on left: 115 116, on right: 113 114
PairPattern (115)
    on left: 117 118, on right: 80
PairName (116)
    on left: 119, on right: 116 118
SurfSequence (117)
    on left: 120, on right: 115 117
LexSequence (118)
    on left: 121, on right: 115 117
Sequence (119)
    on left: 122 123 124 125, on right: 120 121
LetterSTAR (120)
    on left: 126 127, on right: 122 126
ClassDeclOPT (121)
    on left: 128 129, on right: 1
ClassHead (122)
    on left: 130, on right: 128
ClassDefPLUS (123)
    on left: 131 132, on right: 128 131
ClassDef (124)
    on left: 133, on right: 131 132
ClassNew (125)
    on left: 134, on right: 133
ClassPLUS (126)
    on left: 135 136, on right: 133 135
Class (127)
    on left: 137 138, on right: 135 136


state 0

    ALPHABETS	shift, and go to state 1

    Start	go to state 191
    AlphabetDecl	go to state 2
    AlphabetHead	go to state 3



state 1

    AlphabetHead  ->  ALPHABETS .   (rule 98)

    $default	reduce using rule 98 (AlphabetHead)



state 2

    Start  ->  AlphabetDecl . AttDecl TypeDecl GramDecl ClassDeclOPT PairDeclOPT SpellDeclOPT LexDeclSTAR   (rule 1)

    ATTRIBUTES	shift, and go to state 4

    AttDecl	go to state 5
    AttHead	go to state 6



state 3

    AlphabetDecl  ->  AlphabetHead . AlphabetDef   (rule 97)

    DNAME	shift, and go to state 7

    AlphabetDef	go to state 8
    LexicalNew	go to state 9



state 4

    AttHead  ->  ATTRIBUTES .   (rule 3)

    $default	reduce using rule 3 (AttHead)



state 5

    Start  ->  AlphabetDecl AttDecl . TypeDecl GramDecl ClassDeclOPT PairDeclOPT SpellDeclOPT LexDeclSTAR   (rule 1)

    TYPES	shift, and go to state 10

    TypeDecl	go to state 11
    TypeHead	go to state 12



state 6

    AttDecl  ->  AttHead . AttDefPLUS   (rule 2)

    DNAME	shift, and go to state 13

    AttDef	go to state 14
    AttNew	go to state 15
    AttDefPLUS	go to state 16



state 7

    LexicalNew  ->  DNAME .   (rule 100)

    $default	reduce using rule 100 (LexicalNew)



state 8

    AlphabetDecl  ->  AlphabetHead AlphabetDef .   (rule 97)

    $default	reduce using rule 97 (AlphabetDecl)



state 9

    AlphabetDef  ->  LexicalNew . COLON LetterNewPLUS SurfaceNew COLON LetterNewPLUS   (rule 99)

    COLON	shift, and go to state 17



state 10

    TypeHead  ->  TYPES .   (rule 8)

    $default	reduce using rule 8 (TypeHead)



state 11

    Start  ->  AlphabetDecl AttDecl TypeDecl . GramDecl ClassDeclOPT PairDeclOPT SpellDeclOPT LexDeclSTAR   (rule 1)

    GRAMMAR	shift, and go to state 18

    GramDecl	go to state 19
    GramHead	go to state 20



state 12

    TypeDecl  ->  TypeHead . TypeDefPLUS   (rule 7)

    DNAME	shift, and go to state 21

    TypeDef	go to state 22
    TypeNew	go to state 23
    TypeDefPLUS	go to state 24



state 13

    AttNew  ->  DNAME .   (rule 5)

    $default	reduce using rule 5 (AttNew)



state 14

    AttDefPLUS  ->  AttDef .   (rule 45)

    $default	reduce using rule 45 (AttDefPLUS)



state 15

    AttDef  ->  AttNew . COLON ValNewPLUS   (rule 4)

    COLON	shift, and go to state 25



state 16

    AttDecl  ->  AttHead AttDefPLUS .   (rule 2)
    AttDefPLUS  ->  AttDefPLUS . AttDef   (rule 44)

    DNAME	shift, and go to state 13

    $default	reduce using rule 2 (AttDecl)

    AttDef	go to state 26
    AttNew	go to state 15



state 17

    AlphabetDef  ->  LexicalNew COLON . LetterNewPLUS SurfaceNew COLON LetterNewPLUS   (rule 99)

    NAME	shift, and go to state 27
    STRING	shift, and go to state 28

    LetterNewPLUS	go to state 29
    LetterNew	go to state 30



state 18

    GramHead  ->  GRAMMAR .   (rule 16)

    $default	reduce using rule 16 (GramHead)



state 19

    Start  ->  AlphabetDecl AttDecl TypeDecl GramDecl . ClassDeclOPT PairDeclOPT SpellDeclOPT LexDeclSTAR   (rule 1)

    CLASSES	shift, and go to state 31

    $default	reduce using rule 129 (ClassDeclOPT)

    ClassDeclOPT	go to state 32
    ClassHead	go to state 33



state 20

    GramDecl  ->  GramHead . RulePLUS   (rule 15)

    DNAME	shift, and go to state 34

    Rule	go to state 35
    RuleNew	go to state 36
    RulePLUS	go to state 37



state 21

    TypeNew  ->  DNAME .   (rule 13)

    $default	reduce using rule 13 (TypeNew)



state 22

    TypeDefPLUS  ->  TypeDef .   (rule 49)

    $default	reduce using rule 49 (TypeDefPLUS)



state 23

    TypeDef  ->  TypeNew . COLON AttNamePLUS NoProjectAttOPTL   (rule 9)

    COLON	shift, and go to state 38



state 24

    TypeDecl  ->  TypeHead TypeDefPLUS .   (rule 7)
    TypeDefPLUS  ->  TypeDefPLUS . TypeDef   (rule 48)

    DNAME	shift, and go to state 21

    $default	reduce using rule 7 (TypeDecl)

    TypeDef	go to state 39
    TypeNew	go to state 23



state 25

    AttDef  ->  AttNew COLON . ValNewPLUS   (rule 4)

    NAME	shift, and go to state 40

    ValNew	go to state 41
    ValNewPLUS	go to state 42



state 26

    AttDefPLUS  ->  AttDefPLUS AttDef .   (rule 44)

    $default	reduce using rule 44 (AttDefPLUS)



state 27

    LetterNew  ->  NAME .   (rule 104)

    $default	reduce using rule 104 (LetterNew)



state 28

    LetterNew  ->  STRING .   (rule 105)

    $default	reduce using rule 105 (LetterNew)



state 29

    AlphabetDef  ->  LexicalNew COLON LetterNewPLUS . SurfaceNew COLON LetterNewPLUS   (rule 99)
    LetterNewPLUS  ->  LetterNewPLUS . LetterNew   (rule 102)

    DNAME	shift, and go to state 43
    NAME	shift, and go to state 27
    STRING	shift, and go to state 28

    SurfaceNew	go to state 44
    LetterNew	go to state 45



state 30

    LetterNewPLUS  ->  LetterNew .   (rule 103)

    $default	reduce using rule 103 (LetterNewPLUS)



state 31

    ClassHead  ->  CLASSES .   (rule 130)

    $default	reduce using rule 130 (ClassHead)



state 32

    Start  ->  AlphabetDecl AttDecl TypeDecl GramDecl ClassDeclOPT . PairDeclOPT SpellDeclOPT LexDeclSTAR   (rule 1)

    PAIRS	shift, and go to state 46

    $default	reduce using rule 107 (PairDeclOPT)

    PairDeclOPT	go to state 47
    PairHead	go to state 48



state 33

    ClassDeclOPT  ->  ClassHead . ClassDefPLUS   (rule 128)

    DNAME	shift, and go to state 49

    ClassDefPLUS	go to state 50
    ClassDef	go to state 51
    ClassNew	go to state 52



state 34

    RuleNew  ->  DNAME .   (rule 24)

    $default	reduce using rule 24 (RuleNew)



state 35

    RulePLUS  ->  Rule .   (rule 51)

    $default	reduce using rule 51 (RulePLUS)



state 36

    Rule  ->  RuleNew . COLON RuleBody   (rule 17)

    COLON	shift, and go to state 53



state 37

    GramDecl  ->  GramHead RulePLUS .   (rule 15)
    RulePLUS  ->  RulePLUS . Rule   (rule 50)

    DNAME	shift, and go to state 34

    $default	reduce using rule 15 (GramDecl)

    Rule	go to state 54
    RuleNew	go to state 36



state 38

    TypeDef  ->  TypeNew COLON . AttNamePLUS NoProjectAttOPTL   (rule 9)

    NAME	shift, and go to state 55

    AttName	go to state 56
    AttNamePLUS	go to state 57



state 39

    TypeDefPLUS  ->  TypeDefPLUS TypeDef .   (rule 48)

    $default	reduce using rule 48 (TypeDefPLUS)



state 40

    ValNew  ->  NAME .   (rule 6)

    $default	reduce using rule 6 (ValNew)



state 41

    ValNewPLUS  ->  ValNew .   (rule 47)

    $default	reduce using rule 47 (ValNewPLUS)



state 42

    AttDef  ->  AttNew COLON ValNewPLUS .   (rule 4)
    ValNewPLUS  ->  ValNewPLUS . ValNew   (rule 46)

    NAME	shift, and go to state 40

    $default	reduce using rule 4 (AttDef)

    ValNew	go to state 58



state 43

    SurfaceNew  ->  DNAME .   (rule 101)

    $default	reduce using rule 101 (SurfaceNew)



state 44

    AlphabetDef  ->  LexicalNew COLON LetterNewPLUS SurfaceNew . COLON LetterNewPLUS   (rule 99)

    COLON	shift, and go to state 59



state 45

    LetterNewPLUS  ->  LetterNewPLUS LetterNew .   (rule 102)

    $default	reduce using rule 102 (LetterNewPLUS)



state 46

    PairHead  ->  PAIRS .   (rule 108)

    $default	reduce using rule 108 (PairHead)



state 47

    Start  ->  AlphabetDecl AttDecl TypeDecl GramDecl ClassDeclOPT PairDeclOPT . SpellDeclOPT LexDeclSTAR   (rule 1)

    SPELLING	shift, and go to state 60

    $default	reduce using rule 59 (SpellDeclOPT)

    SpellDeclOPT	go to state 61
    SpellHead	go to state 62



state 48

    PairDeclOPT  ->  PairHead . PairDefPLUS   (rule 106)

    DNAME	shift, and go to state 63

    PairDefPLUS	go to state 64
    PairDef	go to state 65
    PairNew	go to state 66



state 49

    ClassNew  ->  DNAME .   (rule 134)

    $default	reduce using rule 134 (ClassNew)



state 50

    ClassDeclOPT  ->  ClassHead ClassDefPLUS .   (rule 128)
    ClassDefPLUS  ->  ClassDefPLUS . ClassDef   (rule 131)

    DNAME	shift, and go to state 49

    $default	reduce using rule 128 (ClassDeclOPT)

    ClassDef	go to state 67
    ClassNew	go to state 52



state 51

    ClassDefPLUS  ->  ClassDef .   (rule 132)

    $default	reduce using rule 132 (ClassDefPLUS)



state 52

    ClassDef  ->  ClassNew . COLON ClassPLUS   (rule 133)

    COLON	shift, and go to state 68



state 53

    Rule  ->  RuleNew COLON . RuleBody   (rule 17)

    TNAME	shift, and go to state 69
    LSTRING	shift, and go to state 70

    RuleBody	go to state 71
    VarTfs	go to state 72
    AffixString	go to state 73
    Tfs 	go to state 74
    TypeName	go to state 75
    Affix	go to state 76



state 54

    RulePLUS  ->  RulePLUS Rule .   (rule 50)

    $default	reduce using rule 50 (RulePLUS)



state 55

    AttName  ->  NAME .   (rule 14)

    $default	reduce using rule 14 (AttName)



state 56

    AttNamePLUS  ->  AttName .   (rule 57)

    $default	reduce using rule 57 (AttNamePLUS)



state 57

    TypeDef  ->  TypeNew COLON AttNamePLUS . NoProjectAttOPTL   (rule 9)
    AttNamePLUS  ->  AttNamePLUS . AttName   (rule 56)

    BAR 	shift, and go to state 77
    NAME	shift, and go to state 55

    $default	reduce using rule 11 (NoProjectAttOPTL)

    NoProjectAttOPTL	go to state 78
    ProjSep	go to state 79
    AttName	go to state 80



state 58

    ValNewPLUS  ->  ValNewPLUS ValNew .   (rule 46)

    $default	reduce using rule 46 (ValNewPLUS)



state 59

    AlphabetDef  ->  LexicalNew COLON LetterNewPLUS SurfaceNew COLON . LetterNewPLUS   (rule 99)

    NAME	shift, and go to state 27
    STRING	shift, and go to state 28

    LetterNewPLUS	go to state 81
    LetterNew	go to state 30



state 60

    SpellHead  ->  SPELLING .   (rule 60)

    $default	reduce using rule 60 (SpellHead)



state 61

    Start  ->  AlphabetDecl AttDecl TypeDecl GramDecl ClassDeclOPT PairDeclOPT SpellDeclOPT . LexDeclSTAR   (rule 1)

    LEXICON	shift, and go to state 82

    $default	reduce using rule 82 (LexDeclSTAR)

    LexDeclSTAR	go to state 83
    LexDeclPLUS	go to state 84
    FirstLexHead	go to state 85



state 62

    SpellDeclOPT  ->  SpellHead . SpellDefPLUS   (rule 58)

    DNAME	shift, and go to state 86

    SpellDef	go to state 87
    SpellNew	go to state 88
    SpellDefPLUS	go to state 89



state 63

    PairNew  ->  DNAME .   (rule 112)

    $default	reduce using rule 112 (PairNew)



state 64

    PairDeclOPT  ->  PairHead PairDefPLUS .   (rule 106)
    PairDefPLUS  ->  PairDefPLUS . PairDef   (rule 109)

    DNAME	shift, and go to state 63

    $default	reduce using rule 106 (PairDeclOPT)

    PairDef	go to state 90
    PairNew	go to state 66



state 65

    PairDefPLUS  ->  PairDef .   (rule 110)

    $default	reduce using rule 110 (PairDefPLUS)



state 66

    PairDef  ->  PairNew . COLON PairPLUS   (rule 111)

    COLON	shift, and go to state 91



state 67

    ClassDefPLUS  ->  ClassDefPLUS ClassDef .   (rule 131)

    $default	reduce using rule 131 (ClassDefPLUS)



state 68

    ClassDef  ->  ClassNew COLON . ClassPLUS   (rule 133)

    NAME	shift, and go to state 92
    STRING	shift, and go to state 93

    ClassPLUS	go to state 94
    Class	go to state 95



state 69

    TypeName  ->  TNAME .   (rule 26)

    $default	reduce using rule 26 (TypeName)



state 70

    AffixString  ->  LSTRING .   (rule 23)

    $default	reduce using rule 23 (AffixString)



state 71

    Rule  ->  RuleNew COLON RuleBody .   (rule 17)

    $default	reduce using rule 17 (Rule)



state 72

    RuleBody  ->  VarTfs . Rewrite Rhs   (rule 18)

    LARROW	shift, and go to state 96

    Rewrite	go to state 97



state 73

    Affix  ->  AffixString . Tfs   (rule 43)

    TNAME	shift, and go to state 69

    Tfs 	go to state 98
    TypeName	go to state 75



state 74

    RuleBody  ->  Tfs .   (rule 20)
    VarTfs  ->  Tfs .   (rule 22)

    LARROW	reduce using rule 22 (VarTfs)
    $default	reduce using rule 20 (RuleBody)



state 75

    Tfs  ->  TypeName . AttSpec   (rule 25)

    LBRA	shift, and go to state 99

    AttSpec	go to state 100



state 76

    RuleBody  ->  Affix .   (rule 19)

    $default	reduce using rule 19 (RuleBody)



state 77

    ProjSep  ->  BAR .   (rule 12)

    $default	reduce using rule 12 (ProjSep)



state 78

    TypeDef  ->  TypeNew COLON AttNamePLUS NoProjectAttOPTL .   (rule 9)

    $default	reduce using rule 9 (TypeDef)



state 79

    NoProjectAttOPTL  ->  ProjSep . AttNamePLUS   (rule 10)

    NAME	shift, and go to state 55

    AttName	go to state 56
    AttNamePLUS	go to state 101



state 80

    AttNamePLUS  ->  AttNamePLUS AttName .   (rule 56)

    $default	reduce using rule 56 (AttNamePLUS)



state 81

    AlphabetDef  ->  LexicalNew COLON LetterNewPLUS SurfaceNew COLON LetterNewPLUS .   (rule 99)
    LetterNewPLUS  ->  LetterNewPLUS . LetterNew   (rule 102)

    NAME	shift, and go to state 27
    STRING	shift, and go to state 28

    $default	reduce using rule 99 (AlphabetDef)

    LetterNew	go to state 45



state 82

    FirstLexHead  ->  LEXICON .   (rule 86)

    $default	reduce using rule 86 (FirstLexHead)



state 83

    Start  ->  AlphabetDecl AttDecl TypeDecl GramDecl ClassDeclOPT PairDeclOPT SpellDeclOPT LexDeclSTAR .   (rule 1)

    $default	reduce using rule 1 (Start)



state 84

    LexDeclSTAR  ->  LexDeclPLUS .   (rule 81)
    LexDeclPLUS  ->  LexDeclPLUS . LexHead LexDefSTAR   (rule 83)

    LEXICON	shift, and go to state 102

    $default	reduce using rule 81 (LexDeclSTAR)

    LexHead	go to state 103



state 85

    LexDeclPLUS  ->  FirstLexHead . LexDefSTAR   (rule 84)

    $default	reduce using rule 96 (LexDefSTAR)

    LexDefSTAR	go to state 104



state 86

    SpellNew  ->  DNAME .   (rule 62)

    $default	reduce using rule 62 (SpellNew)



state 87

    SpellDefPLUS  ->  SpellDef .   (rule 64)

    $default	reduce using rule 64 (SpellDefPLUS)



state 88

    SpellDef  ->  SpellNew . COLON Arrow LeftContext Focus RightContext ConstraintSTAR   (rule 61)

    COLON	shift, and go to state 105



state 89

    SpellDeclOPT  ->  SpellHead SpellDefPLUS .   (rule 58)
    SpellDefPLUS  ->  SpellDefPLUS . SpellDef   (rule 63)

    DNAME	shift, and go to state 86

    $default	reduce using rule 58 (SpellDeclOPT)

    SpellDef	go to state 106
    SpellNew	go to state 88



state 90

    PairDefPLUS  ->  PairDefPLUS PairDef .   (rule 109)

    $default	reduce using rule 109 (PairDefPLUS)



state 91

    PairDef  ->  PairNew COLON . PairPLUS   (rule 111)

    ANY 	shift, and go to state 107
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    PairPLUS	go to state 111
    Pair	go to state 112
    PairName	go to state 113
    SurfSequence	go to state 114
    Sequence	go to state 115



state 92

    Class  ->  NAME .   (rule 137)

    $default	reduce using rule 137 (Class)



state 93

    Class  ->  STRING .   (rule 138)

    $default	reduce using rule 138 (Class)



state 94

    ClassDef  ->  ClassNew COLON ClassPLUS .   (rule 133)
    ClassPLUS  ->  ClassPLUS . Class   (rule 135)

    NAME	shift, and go to state 92
    STRING	shift, and go to state 93

    $default	reduce using rule 133 (ClassDef)

    Class	go to state 116



state 95

    ClassPLUS  ->  Class .   (rule 136)

    $default	reduce using rule 136 (ClassPLUS)



state 96

    Rewrite  ->  LARROW .   (rule 21)

    $default	reduce using rule 21 (Rewrite)



state 97

    RuleBody  ->  VarTfs Rewrite . Rhs   (rule 18)

    TNAME	shift, and go to state 69
    LSTRING	shift, and go to state 70

    VarTfs	go to state 117
    AffixString	go to state 73
    Tfs 	go to state 118
    TypeName	go to state 75
    Rhs 	go to state 119
    Affix	go to state 120



state 98

    Affix  ->  AffixString Tfs .   (rule 43)

    $default	reduce using rule 43 (Affix)



state 99

    AttSpec  ->  LBRA . AttValSTAR RBRA   (rule 27)

    $default	reduce using rule 53 (AttValSTAR)

    AttValSTAR	go to state 121



state 100

    Tfs  ->  TypeName AttSpec .   (rule 25)

    $default	reduce using rule 25 (Tfs)



state 101

    NoProjectAttOPTL  ->  ProjSep AttNamePLUS .   (rule 10)
    AttNamePLUS  ->  AttNamePLUS . AttName   (rule 56)

    NAME	shift, and go to state 55

    $default	reduce using rule 10 (NoProjectAttOPTL)

    AttName	go to state 80



state 102

    LexHead  ->  LEXICON .   (rule 85)

    $default	reduce using rule 85 (LexHead)



state 103

    LexDeclPLUS  ->  LexDeclPLUS LexHead . LexDefSTAR   (rule 83)

    $default	reduce using rule 96 (LexDefSTAR)

    LexDefSTAR	go to state 122



state 104

    LexDeclPLUS  ->  FirstLexHead LexDefSTAR .   (rule 84)
    LexDefSTAR  ->  LexDefSTAR . LexDef   (rule 95)

    TNAME	shift, and go to state 69

    $default	reduce using rule 84 (LexDeclPLUS)

    Tfs 	go to state 123
    TypeName	go to state 75
    LexDef	go to state 124
    CommonTfs	go to state 125



state 105

    SpellDef  ->  SpellNew COLON . Arrow LeftContext Focus RightContext ConstraintSTAR   (rule 61)

    BIARROW	shift, and go to state 126
    RARROW	shift, and go to state 127
    COERCEARROW	shift, and go to state 128

    Arrow	go to state 129



state 106

    SpellDefPLUS  ->  SpellDefPLUS SpellDef .   (rule 63)

    $default	reduce using rule 63 (SpellDefPLUS)



state 107

    Sequence  ->  ANY .   (rule 125)

    $default	reduce using rule 125 (Sequence)



state 108

    Sequence  ->  LANGLE . LetterSTAR RANGLE   (rule 122)

    $default	reduce using rule 127 (LetterSTAR)

    LetterSTAR	go to state 130



state 109

    PairName  ->  NAME .   (rule 119)
    Sequence  ->  NAME .   (rule 124)

    SLASH	reduce using rule 124 (Sequence)
    $default	reduce using rule 119 (PairName)



state 110

    Sequence  ->  LSTRING .   (rule 123)

    $default	reduce using rule 123 (Sequence)



state 111

    PairDef  ->  PairNew COLON PairPLUS .   (rule 111)
    PairPLUS  ->  PairPLUS . Pair   (rule 113)

    ANY 	shift, and go to state 107
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    $default	reduce using rule 111 (PairDef)

    Pair	go to state 131
    PairName	go to state 113
    SurfSequence	go to state 114
    Sequence	go to state 115



state 112

    PairPLUS  ->  Pair .   (rule 114)

    $default	reduce using rule 114 (PairPLUS)



state 113

    Pair  ->  PairName .   (rule 116)

    $default	reduce using rule 116 (Pair)



state 114

    Pair  ->  SurfSequence . SLASH LexSequence   (rule 115)

    SLASH	shift, and go to state 132



state 115

    SurfSequence  ->  Sequence .   (rule 120)

    $default	reduce using rule 120 (SurfSequence)



state 116

    ClassPLUS  ->  ClassPLUS Class .   (rule 135)

    $default	reduce using rule 135 (ClassPLUS)



state 117

    Rhs  ->  VarTfs .   (rule 39)
    Rhs  ->  VarTfs . VarTfs   (rule 40)
    Rhs  ->  VarTfs . Affix   (rule 42)

    TNAME	shift, and go to state 69
    LSTRING	shift, and go to state 70

    $default	reduce using rule 39 (Rhs)

    VarTfs	go to state 133
    AffixString	go to state 73
    Tfs 	go to state 118
    TypeName	go to state 75
    Affix	go to state 134



state 118

    VarTfs  ->  Tfs .   (rule 22)

    $default	reduce using rule 22 (VarTfs)



state 119

    RuleBody  ->  VarTfs Rewrite Rhs .   (rule 18)

    $default	reduce using rule 18 (RuleBody)



state 120

    Rhs  ->  Affix . VarTfs   (rule 41)

    TNAME	shift, and go to state 69

    VarTfs	go to state 135
    Tfs 	go to state 118
    TypeName	go to state 75



state 121

    AttSpec  ->  LBRA AttValSTAR . RBRA   (rule 27)
    AttValSTAR  ->  AttValSTAR . AttVal   (rule 52)

    RBRA	shift, and go to state 136
    NAME	shift, and go to state 55

    AttName	go to state 137
    AttVal	go to state 138



state 122

    LexDeclPLUS  ->  LexDeclPLUS LexHead LexDefSTAR .   (rule 83)
    LexDefSTAR  ->  LexDefSTAR . LexDef   (rule 95)

    TNAME	shift, and go to state 69

    $default	reduce using rule 83 (LexDeclPLUS)

    Tfs 	go to state 123
    TypeName	go to state 75
    LexDef	go to state 124
    CommonTfs	go to state 125



state 123

    CommonTfs  ->  Tfs .   (rule 88)

    $default	reduce using rule 88 (CommonTfs)



state 124

    LexDefSTAR  ->  LexDefSTAR LexDef .   (rule 95)

    $default	reduce using rule 95 (LexDefSTAR)



state 125

    LexDef  ->  CommonTfs . LexicalPLUS   (rule 87)

    LSTRING	shift, and go to state 139

    LexicalPLUS	go to state 140
    Lexical	go to state 141
    LexNew	go to state 142



state 126

    Arrow  ->  BIARROW .   (rule 69)

    $default	reduce using rule 69 (Arrow)



state 127

    Arrow  ->  RARROW .   (rule 68)

    $default	reduce using rule 68 (Arrow)



state 128

    Arrow  ->  COERCEARROW .   (rule 70)

    $default	reduce using rule 70 (Arrow)



state 129

    SpellDef  ->  SpellNew COLON Arrow . LeftContext Focus RightContext ConstraintSTAR   (rule 61)

    ANY 	shift, and go to state 107
    WORDBOUNDARY	shift, and go to state 143
    CONCATBOUNDARY	shift, and go to state 144
    MORPHEMEBOUNDARY	shift, and go to state 145
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    $default	reduce using rule 76 (PatternSTAR)

    LeftContext	go to state 146
    PatternPLUS	go to state 147
    PatternSTAR	go to state 148
    Pattern	go to state 149
    PairPattern	go to state 150
    PairName	go to state 151
    SurfSequence	go to state 152
    Sequence	go to state 115



state 130

    Sequence  ->  LANGLE LetterSTAR . RANGLE   (rule 122)
    LetterSTAR  ->  LetterSTAR . NAME   (rule 126)

    RANGLE	shift, and go to state 153
    NAME	shift, and go to state 154



state 131

    PairPLUS  ->  PairPLUS Pair .   (rule 113)

    $default	reduce using rule 113 (PairPLUS)



state 132

    Pair  ->  SurfSequence SLASH . LexSequence   (rule 115)

    ANY 	shift, and go to state 107
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 155
    LSTRING	shift, and go to state 110

    LexSequence	go to state 156
    Sequence	go to state 157



state 133

    Rhs  ->  VarTfs VarTfs .   (rule 40)

    $default	reduce using rule 40 (Rhs)



state 134

    Rhs  ->  VarTfs Affix .   (rule 42)

    $default	reduce using rule 42 (Rhs)



state 135

    Rhs  ->  Affix VarTfs .   (rule 41)

    $default	reduce using rule 41 (Rhs)



state 136

    AttSpec  ->  LBRA AttValSTAR RBRA .   (rule 27)

    $default	reduce using rule 27 (AttSpec)



state 137

    AttVal  ->  AttName . ValSpec   (rule 28)

    EQUAL	shift, and go to state 158
    NOTEQUAL	shift, and go to state 159

    ValSpec	go to state 160
    ValSetSpec	go to state 161
    ValSet	go to state 162



state 138

    AttValSTAR  ->  AttValSTAR AttVal .   (rule 52)

    $default	reduce using rule 52 (AttValSTAR)



state 139

    LexNew  ->  LSTRING .   (rule 94)

    $default	reduce using rule 94 (LexNew)



state 140

    LexDef  ->  CommonTfs LexicalPLUS .   (rule 87)
    LexicalPLUS  ->  LexicalPLUS . Lexical   (rule 89)

    LSTRING	shift, and go to state 139

    $default	reduce using rule 87 (LexDef)

    Lexical	go to state 163
    LexNew	go to state 142



state 141

    LexicalPLUS  ->  Lexical .   (rule 90)

    $default	reduce using rule 90 (LexicalPLUS)



state 142

    Lexical  ->  LexNew . BaseFormOPTL   (rule 91)

    EQUAL	shift, and go to state 164

    $default	reduce using rule 93 (BaseFormOPTL)

    BaseFormOPTL	go to state 165



state 143

    Pattern  ->  WORDBOUNDARY .   (rule 79)

    $default	reduce using rule 79 (Pattern)



state 144

    Pattern  ->  CONCATBOUNDARY .   (rule 77)

    $default	reduce using rule 77 (Pattern)



state 145

    Pattern  ->  MORPHEMEBOUNDARY .   (rule 78)

    $default	reduce using rule 78 (Pattern)



state 146

    SpellDef  ->  SpellNew COLON Arrow LeftContext . Focus RightContext ConstraintSTAR   (rule 61)

    CONTEXTBOUNDARY	shift, and go to state 166

    Focus	go to state 167



state 147

    PatternPLUS  ->  PatternPLUS . Pattern   (rule 73)
    PatternSTAR  ->  PatternPLUS .   (rule 75)

    ANY 	shift, and go to state 107
    WORDBOUNDARY	shift, and go to state 143
    CONCATBOUNDARY	shift, and go to state 144
    MORPHEMEBOUNDARY	shift, and go to state 145
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    $default	reduce using rule 75 (PatternSTAR)

    Pattern	go to state 168
    PairPattern	go to state 150
    PairName	go to state 151
    SurfSequence	go to state 152
    Sequence	go to state 115



state 148

    LeftContext  ->  PatternSTAR .   (rule 65)

    $default	reduce using rule 65 (LeftContext)



state 149

    PatternPLUS  ->  Pattern .   (rule 74)

    $default	reduce using rule 74 (PatternPLUS)



state 150

    Pattern  ->  PairPattern .   (rule 80)

    $default	reduce using rule 80 (Pattern)



state 151

    PairPattern  ->  PairName .   (rule 118)

    $default	reduce using rule 118 (PairPattern)



state 152

    PairPattern  ->  SurfSequence . SLASH LexSequence   (rule 117)

    SLASH	shift, and go to state 169



state 153

    Sequence  ->  LANGLE LetterSTAR RANGLE .   (rule 122)

    $default	reduce using rule 122 (Sequence)



state 154

    LetterSTAR  ->  LetterSTAR NAME .   (rule 126)

    $default	reduce using rule 126 (LetterSTAR)



state 155

    Sequence  ->  NAME .   (rule 124)

    $default	reduce using rule 124 (Sequence)



state 156

    Pair  ->  SurfSequence SLASH LexSequence .   (rule 115)

    $default	reduce using rule 115 (Pair)



state 157

    LexSequence  ->  Sequence .   (rule 121)

    $default	reduce using rule 121 (LexSequence)



state 158

    ValSpec  ->  EQUAL . DOLLAR VarName   (rule 30)
    ValSpec  ->  EQUAL . DOLLAR VarName ValSetSpec   (rule 31)
    ValSet  ->  EQUAL . ValDisj   (rule 35)

    DOLLAR	shift, and go to state 170
    NAME	shift, and go to state 171

    ValDisj	go to state 172
    ValName	go to state 173



state 159

    ValSet  ->  NOTEQUAL . ValDisj   (rule 34)

    NAME	shift, and go to state 171

    ValDisj	go to state 174
    ValName	go to state 173



state 160

    AttVal  ->  AttName ValSpec .   (rule 28)

    $default	reduce using rule 28 (AttVal)



state 161

    ValSpec  ->  ValSetSpec .   (rule 29)

    $default	reduce using rule 29 (ValSpec)



state 162

    ValSetSpec  ->  ValSet .   (rule 33)

    $default	reduce using rule 33 (ValSetSpec)



state 163

    LexicalPLUS  ->  LexicalPLUS Lexical .   (rule 89)

    $default	reduce using rule 89 (LexicalPLUS)



state 164

    BaseFormOPTL  ->  EQUAL . LSTRING   (rule 92)

    LSTRING	shift, and go to state 175



state 165

    Lexical  ->  LexNew BaseFormOPTL .   (rule 91)

    $default	reduce using rule 91 (Lexical)



state 166

    Focus  ->  CONTEXTBOUNDARY . PatternPLUS CONTEXTBOUNDARY   (rule 67)

    ANY 	shift, and go to state 107
    WORDBOUNDARY	shift, and go to state 143
    CONCATBOUNDARY	shift, and go to state 144
    MORPHEMEBOUNDARY	shift, and go to state 145
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    PatternPLUS	go to state 176
    Pattern	go to state 149
    PairPattern	go to state 150
    PairName	go to state 151
    SurfSequence	go to state 152
    Sequence	go to state 115



state 167

    SpellDef  ->  SpellNew COLON Arrow LeftContext Focus . RightContext ConstraintSTAR   (rule 61)

    ANY 	shift, and go to state 107
    WORDBOUNDARY	shift, and go to state 143
    CONCATBOUNDARY	shift, and go to state 144
    MORPHEMEBOUNDARY	shift, and go to state 145
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    $default	reduce using rule 76 (PatternSTAR)

    RightContext	go to state 177
    PatternPLUS	go to state 147
    PatternSTAR	go to state 178
    Pattern	go to state 149
    PairPattern	go to state 150
    PairName	go to state 151
    SurfSequence	go to state 152
    Sequence	go to state 115



state 168

    PatternPLUS  ->  PatternPLUS Pattern .   (rule 73)

    $default	reduce using rule 73 (PatternPLUS)



state 169

    PairPattern  ->  SurfSequence SLASH . LexSequence   (rule 117)

    ANY 	shift, and go to state 107
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 155
    LSTRING	shift, and go to state 110

    LexSequence	go to state 179
    Sequence	go to state 157



state 170

    ValSpec  ->  EQUAL DOLLAR . VarName   (rule 30)
    ValSpec  ->  EQUAL DOLLAR . VarName ValSetSpec   (rule 31)

    NAME	shift, and go to state 180

    VarName	go to state 181



state 171

    ValName  ->  NAME .   (rule 37)

    $default	reduce using rule 37 (ValName)



state 172

    ValSet  ->  EQUAL ValDisj .   (rule 35)

    $default	reduce using rule 35 (ValSet)



state 173

    ValDisj  ->  ValName . ValDisjRestSTAR   (rule 36)

    $default	reduce using rule 55 (ValDisjRestSTAR)

    ValDisjRestSTAR	go to state 182



state 174

    ValSet  ->  NOTEQUAL ValDisj .   (rule 34)

    $default	reduce using rule 34 (ValSet)



state 175

    BaseFormOPTL  ->  EQUAL LSTRING .   (rule 92)

    $default	reduce using rule 92 (BaseFormOPTL)



state 176

    Focus  ->  CONTEXTBOUNDARY PatternPLUS . CONTEXTBOUNDARY   (rule 67)
    PatternPLUS  ->  PatternPLUS . Pattern   (rule 73)

    ANY 	shift, and go to state 107
    WORDBOUNDARY	shift, and go to state 143
    CONTEXTBOUNDARY	shift, and go to state 183
    CONCATBOUNDARY	shift, and go to state 144
    MORPHEMEBOUNDARY	shift, and go to state 145
    LANGLE	shift, and go to state 108
    NAME	shift, and go to state 109
    LSTRING	shift, and go to state 110

    Pattern	go to state 168
    PairPattern	go to state 150
    PairName	go to state 151
    SurfSequence	go to state 152
    Sequence	go to state 115



state 177

    SpellDef  ->  SpellNew COLON Arrow LeftContext Focus RightContext . ConstraintSTAR   (rule 61)

    $default	reduce using rule 72 (ConstraintSTAR)

    ConstraintSTAR	go to state 184



state 178

    RightContext  ->  PatternSTAR .   (rule 66)

    $default	reduce using rule 66 (RightContext)



state 179

    PairPattern  ->  SurfSequence SLASH LexSequence .   (rule 117)

    $default	reduce using rule 117 (PairPattern)



state 180

    VarName  ->  NAME .   (rule 32)

    $default	reduce using rule 32 (VarName)



state 181

    ValSpec  ->  EQUAL DOLLAR VarName .   (rule 30)
    ValSpec  ->  EQUAL DOLLAR VarName . ValSetSpec   (rule 31)

    EQUAL	shift, and go to state 185
    NOTEQUAL	shift, and go to state 159

    $default	reduce using rule 30 (ValSpec)

    ValSetSpec	go to state 186
    ValSet	go to state 162



state 182

    ValDisj  ->  ValName ValDisjRestSTAR .   (rule 36)
    ValDisjRestSTAR  ->  ValDisjRestSTAR . ValDisjRest   (rule 54)

    BAR 	shift, and go to state 187

    $default	reduce using rule 36 (ValDisj)

    ValDisjRest	go to state 188



state 183

    Focus  ->  CONTEXTBOUNDARY PatternPLUS CONTEXTBOUNDARY .   (rule 67)

    $default	reduce using rule 67 (Focus)



state 184

    SpellDef  ->  SpellNew COLON Arrow LeftContext Focus RightContext ConstraintSTAR .   (rule 61)
    ConstraintSTAR  ->  ConstraintSTAR . Tfs   (rule 71)

    TNAME	shift, and go to state 69

    $default	reduce using rule 61 (SpellDef)

    Tfs 	go to state 189
    TypeName	go to state 75



state 185

    ValSet  ->  EQUAL . ValDisj   (rule 35)

    NAME	shift, and go to state 171

    ValDisj	go to state 172
    ValName	go to state 173



state 186

    ValSpec  ->  EQUAL DOLLAR VarName ValSetSpec .   (rule 31)

    $default	reduce using rule 31 (ValSpec)



state 187

    ValDisjRest  ->  BAR . ValName   (rule 38)

    NAME	shift, and go to state 171

    ValName	go to state 190



state 188

    ValDisjRestSTAR  ->  ValDisjRestSTAR ValDisjRest .   (rule 54)

    $default	reduce using rule 54 (ValDisjRestSTAR)



state 189

    ConstraintSTAR  ->  ConstraintSTAR Tfs .   (rule 71)

    $default	reduce using rule 71 (ConstraintSTAR)



state 190

    ValDisjRest  ->  BAR ValName .   (rule 38)

    $default	reduce using rule 38 (ValDisjRest)



state 191

    $   	go to state 192



state 192

    $   	go to state 193



state 193

    $default	accept