aboutsummaryrefslogtreecommitdiff
path: root/src/generate-grammar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generate-grammar.c')
-rw-r--r--src/generate-grammar.c391
1 files changed, 391 insertions, 0 deletions
diff --git a/src/generate-grammar.c b/src/generate-grammar.c
new file mode 100644
index 0000000..d4d0132
--- /dev/null
+++ b/src/generate-grammar.c
@@ -0,0 +1,391 @@
1#include <stdlib.h>
2#include <stdio.h>
3
4int
5main (int argc, char *argv[])
6{
7 FILE *fp = stdout;
8
9 verb {
10 imperfective {
11 indicative {
12 present {
13 sg {
14 p1;
15 p2;
16 p3;
17 };
18 pl {
19 p1;
20 p2;
21 p3;
22 };
23 };
24 past {
25 masculine {
26 sg {
27 p1;
28 p2;
29 p3;
30 };
31 pl {
32 p1 {
33 animate;
34 inanimate;
35 };
36 p2 {
37 animate;
38 inanimate;
39 };
40 p3 {
41 animate;
42 inanimate;
43 };
44 };
45 };
46 feminine {
47 sg {
48 p1;
49 p2;
50 p3;
51 };
52 pl {
53 p1;
54 p2;
55 p3;
56 };
57 };
58 neuter {
59 sg {
60 p1;
61 p2;
62 p3;
63 };
64 pl {
65 p1;
66 p2;
67 p3;
68 };
69 };
70 };
71 future {
72 sg {
73 p1;
74 p2;
75 p3;
76 };
77 pl {
78 p1;
79 p2;
80 p3;
81 };
82 };
83 };
84 conditional {
85 present {
86 masculine {
87 sg {
88 p1;
89 p2;
90 p3;
91 };
92 pl {
93 p1 {
94 animate;
95 inanimate;
96 };
97 p2 {
98 animate;
99 inanimate;
100 };
101 p3 {
102 animate;
103 inanimate;
104 };
105 };
106 };
107 feminine {
108 sg {
109 p1;
110 p2;
111 p3;
112 };
113 pl {
114 p1;
115 p2;
116 p3;
117 };
118 };
119 neuter {
120 sg {
121 p1;
122 p2;
123 p3;
124 };
125 pl {
126 p1;
127 p2;
128 p3;
129 };
130 };
131 };
132 past {
133 masculine {
134 sg {
135 p1;
136 p2;
137 p3;
138 };
139 pl {
140 p1 {
141 animate;
142 inanimate;
143 };
144 p2 {
145 animate;
146 inanimate;
147 };
148 p3 {
149 animate;
150 inanimate;
151 };
152 };
153 };
154 feminine {
155 sg {
156 p1;
157 p2;
158 p3;
159 };
160 pl {
161 p1;
162 p2;
163 p3;
164 };
165 };
166 neuter {
167 sg {
168 p1;
169 p2;
170 p3;
171 };
172 pl {
173 p1;
174 p2;
175 p3;
176 };
177 };
178 };
179 };
180 imperative {
181 sg {
182 p2;
183 };
184 pl {
185 p1;
186 p2;
187 };
188 };
189 participle {
190 sg {
191 masculine;
192 feminine;
193 neuter;
194 };
195 pl {
196 masculine {
197 animate;
198 inanimate;
199 };
200 feminine;
201 neuter;
202 };
203 };
204 };
205 perfective {
206 indicative {
207 present {
208 sg {
209 p1;
210 p2;
211 p3;
212 };
213 pl {
214 p1;
215 p2;
216 p3;
217 };
218 };
219 past {
220 masculine {
221 sg {
222 p1;
223 p2;
224 p3;
225 };
226 pl {
227 p1 {
228 animate;
229 inanimate;
230 };
231 p2 {
232 animate;
233 inanimate;
234 };
235 p3 {
236 animate;
237 inanimate;
238 };
239 };
240 };
241 feminine {
242 sg {
243 p1;
244 p2;
245 p3;
246 };
247 pl {
248 p1;
249 p2;
250 p3;
251 };
252 };
253 neuter {
254 sg {
255 p1;
256 p2;
257 p3;
258 };
259 pl {
260 p1;
261 p2;
262 p3;
263 };
264 };
265 };
266 };
267 conditional {
268 present {
269 masculine {
270 sg {
271 p1;
272 p2;
273 p3;
274 };
275 pl {
276 p1 {
277 animate;
278 inanimate;
279 };
280 p2 {
281 animate;
282 inanimate;
283 };
284 p3 {
285 animate;
286 inanimate;
287 };
288 };
289 };
290 feminine {
291 sg {
292 p1;
293 p2;
294 p3;
295 };
296 pl {
297 p1;
298 p2;
299 p3;
300 };
301 };
302 neuter {
303 sg {
304 p1;
305 p2;
306 p3;
307 };
308 pl {
309 p1;
310 p2;
311 p3;
312 };
313 };
314 };
315 past {
316 masculine {
317 sg {
318 p1;
319 p2;
320 p3;
321 };
322 pl {
323 p1 {
324 animate;
325 inanimate;
326 };
327 p2 {
328 animate;
329 inanimate;
330 };
331 p3 {
332 animate;
333 inanimate;
334 };
335 };
336 };
337 feminine {
338 sg {
339 p1;
340 p2;
341 p3;
342 };
343 pl {
344 p1;
345 p2;
346 p3;
347 };
348 };
349 neuter {
350 sg {
351 p1;
352 p2;
353 p3;
354 };
355 pl {
356 p1;
357 p2;
358 p3;
359 };
360 };
361 };
362 };
363 imperative {
364 sg {
365 p2;
366 };
367 pl {
368 p1;
369 p2;
370 };
371 };
372 participle {
373 sg {
374 masculine;
375 feminine;
376 neuter;
377 };
378 pl {
379 masculine {
380 animate;
381 inanimate;
382 };
383 feminine;
384 neuter;
385 };
386 };
387 };
388 };
389
390 return EXIT_SUCCESS;
391}