-
Notifications
You must be signed in to change notification settings - Fork 0
/
syntax.dot
225 lines (225 loc) · 4.66 KB
/
syntax.dot
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
digraph vis {
size="26,26";
node [color=lightblue2, style=filled];
"0 root" -> "1 A";
"0 root" -> "9 A";
"0 root" -> "17 A";
"0 root" -> "25 FUN";
"1 A" -> "2 int";
"1 A" -> "3 a";
"1 A" -> "4 B1";
"1 A" -> "6 B2";
"1 A" -> "8 ;";
"4 B1" -> "5 ~";
"6 B2" -> "7 ~";
"9 A" -> "10 int";
"9 A" -> "11 b";
"9 A" -> "12 B1";
"9 A" -> "14 B2";
"9 A" -> "16 ;";
"12 B1" -> "13 ~";
"14 B2" -> "15 ~";
"17 A" -> "18 float";
"17 A" -> "19 c";
"17 A" -> "20 B1";
"17 A" -> "22 B2";
"17 A" -> "24 ;";
"20 B1" -> "21 ~";
"22 B2" -> "23 ~";
"25 FUN" -> "26 int";
"25 FUN" -> "27 main";
"25 FUN" -> "28 (";
"25 FUN" -> "29 P";
"25 FUN" -> "30 )";
"25 FUN" -> "31 D1";
"25 FUN" -> "197 FUN";
"31 D1" -> "32 {";
"31 D1" -> "33 MATCH";
"33 MATCH" -> "34 A";
"33 MATCH" -> "42 MATCH";
"33 MATCH" -> "196 }";
"34 A" -> "35 int";
"34 A" -> "36 t";
"34 A" -> "37 B1";
"34 A" -> "39 B2";
"34 A" -> "41 ;";
"37 B1" -> "38 ~";
"39 B2" -> "40 ~";
"42 MATCH" -> "43 S";
"43 S" -> "44 if";
"43 S" -> "45 (";
"43 S" -> "46 E";
"43 S" -> "67 )";
"43 S" -> "68 {";
"43 S" -> "69 MATCH";
"43 S" -> "101 }";
"43 S" -> "102 S1";
"43 S" -> "173 MATCH";
"46 E" -> "47 T";
"46 E" -> "55 E1";
"47 T" -> "48 F";
"47 T" -> "53 T1";
"48 F" -> "49 M";
"48 F" -> "51 F1";
"49 M" -> "50 a";
"51 F1" -> "52 ~";
"53 T1" -> "54 ~";
"55 E1" -> "56 >";
"55 E1" -> "57 T";
"55 E1" -> "65 E1";
"57 T" -> "58 F";
"57 T" -> "63 T1";
"58 F" -> "59 M";
"58 F" -> "61 F1";
"59 M" -> "60 4";
"61 F1" -> "62 ~";
"63 T1" -> "64 ~";
"65 E1" -> "66 ~";
"69 MATCH" -> "70 E";
"69 MATCH" -> "99 MATCH";
"70 E" -> "71 T";
"70 E" -> "79 E1";
"70 E" -> "98 ;";
"71 T" -> "72 F";
"71 T" -> "77 T1";
"72 F" -> "73 M";
"72 F" -> "75 F1";
"73 M" -> "74 a";
"75 F1" -> "76 ~";
"77 T1" -> "78 ~";
"79 E1" -> "80 =";
"79 E1" -> "81 T";
"79 E1" -> "96 E1";
"81 T" -> "82 F";
"81 T" -> "87 T1";
"82 F" -> "83 M";
"82 F" -> "85 F1";
"83 M" -> "84 b";
"85 F1" -> "86 ~";
"87 T1" -> "88 +";
"87 T1" -> "89 F";
"87 T1" -> "94 T1";
"89 F" -> "90 M";
"89 F" -> "92 F1";
"90 M" -> "91 c";
"92 F1" -> "93 ~";
"94 T1" -> "95 ~";
"96 E1" -> "97 ~";
"99 MATCH" -> "100 ~";
"102 S1" -> "103 else";
"102 S1" -> "104 {";
"102 S1" -> "105 MATCH";
"102 S1" -> "172 }";
"105 MATCH" -> "106 E";
"105 MATCH" -> "170 MATCH";
"106 E" -> "107 T";
"106 E" -> "115 E1";
"106 E" -> "169 ;";
"107 T" -> "108 F";
"107 T" -> "113 T1";
"108 F" -> "109 M";
"108 F" -> "111 F1";
"109 M" -> "110 a";
"111 F1" -> "112 ~";
"113 T1" -> "114 ~";
"115 E1" -> "116 =";
"115 E1" -> "117 T";
"115 E1" -> "167 E1";
"117 T" -> "118 F";
"117 T" -> "165 T1";
"118 F" -> "119 M";
"118 F" -> "140 F1";
"119 M" -> "120 (";
"119 M" -> "121 E";
"119 M" -> "139 )";
"121 E" -> "122 T";
"121 E" -> "137 E1";
"122 T" -> "123 F";
"122 T" -> "128 T1";
"123 F" -> "124 M";
"123 F" -> "126 F1";
"124 M" -> "125 b";
"126 F1" -> "127 ~";
"128 T1" -> "129 +";
"128 T1" -> "130 F";
"128 T1" -> "135 T1";
"130 F" -> "131 M";
"130 F" -> "133 F1";
"131 M" -> "132 c";
"133 F1" -> "134 ~";
"135 T1" -> "136 ~";
"137 E1" -> "138 ~";
"140 F1" -> "141 *";
"140 F1" -> "142 M";
"140 F1" -> "163 F1";
"142 M" -> "143 (";
"142 M" -> "144 E";
"142 M" -> "162 )";
"144 E" -> "145 T";
"144 E" -> "160 E1";
"145 T" -> "146 F";
"145 T" -> "151 T1";
"146 F" -> "147 M";
"146 F" -> "149 F1";
"147 M" -> "148 b";
"149 F1" -> "150 ~";
"151 T1" -> "152 -";
"151 T1" -> "153 F";
"151 T1" -> "158 T1";
"153 F" -> "154 M";
"153 F" -> "156 F1";
"154 M" -> "155 c";
"156 F1" -> "157 ~";
"158 T1" -> "159 ~";
"160 E1" -> "161 ~";
"163 F1" -> "164 ~";
"165 T1" -> "166 ~";
"167 E1" -> "168 ~";
"170 MATCH" -> "171 ~";
"173 MATCH" -> "174 RT";
"174 RT" -> "175 return";
"174 RT" -> "176 t";
"174 RT" -> "177 E";
"177 E" -> "178 T";
"177 E" -> "193 E1";
"177 E" -> "195 ;";
"178 T" -> "179 F";
"178 T" -> "184 T1";
"179 F" -> "180 M";
"179 F" -> "182 F1";
"180 M" -> "181 t";
"182 F1" -> "183 ~";
"184 T1" -> "185 +";
"184 T1" -> "186 F";
"184 T1" -> "191 T1";
"186 F" -> "187 M";
"186 F" -> "189 F1";
"187 M" -> "188 5";
"189 F1" -> "190 ~";
"191 T1" -> "192 ~";
"193 E1" -> "194 ~";
"197 FUN" -> "198 int";
"197 FUN" -> "199 ss";
"197 FUN" -> "200 (";
"197 FUN" -> "201 P";
"197 FUN" -> "202 )";
"197 FUN" -> "203 D1";
"203 D1" -> "204 {";
"203 D1" -> "205 MATCH";
"203 D1" -> "221 }";
"205 MATCH" -> "206 RT";
"206 RT" -> "207 return";
"206 RT" -> "208 1";
"206 RT" -> "209 E";
"209 E" -> "210 T";
"209 E" -> "218 E1";
"209 E" -> "220 ;";
"210 T" -> "211 F";
"210 T" -> "216 T1";
"211 F" -> "212 M";
"211 F" -> "214 F1";
"212 M" -> "213 1";
"214 F1" -> "215 ~";
"216 T1" -> "217 ~";
"218 E1" -> "219 ~";
}