summaryrefslogtreecommitdiff
path: root/GF.cabal
blob: 4ddccb11a215dd7040c4c17254afbb2c4f4396e0 (plain)
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
name: gf
version: 3.0-beta2
cabal-version: >= 1.2
build-type: Simple
license: GPL
license-file: LICENSE
synopsis: Grammatical Framework
data-files:
    lib/prelude/Coordination.gf
    lib/prelude/Formal.gf
    lib/prelude/HTML.gf
    lib/prelude/Latex.gf
    lib/prelude/Precedence.gf
    lib/prelude/Predef.gf
    lib/prelude/PredefAbs.gf
    lib/prelude/PredefCnc.gf
    lib/prelude/Prelude.gf
    lib/resource/abstract/Adjective.gf
    lib/resource/abstract/Adverb.gf
    lib/resource/abstract/Backward.gf
    lib/resource/abstract/Cat.gf
    lib/resource/abstract/Common.gf
    lib/resource/abstract/Conjunction.gf
    lib/resource/abstract/Extra.gf
    lib/resource/abstract/Grammar.gf
    lib/resource/abstract/Idiom.gf
    lib/resource/abstract/Lang.gf
    lib/resource/abstract/Lexicon.gf
    lib/resource/abstract/Noun.gf
    lib/resource/abstract/Numeral.gf
    lib/resource/abstract/Phrase.gf
    lib/resource/abstract/Question.gf
    lib/resource/abstract/Relative.gf
    lib/resource/abstract/Sentence.gf
    lib/resource/abstract/Structural.gf
    lib/resource/abstract/Text.gf
    lib/resource/abstract/Verb.gf
    lib/resource/api/Constructors.gf
    lib/resource/api/ConstructorsBul.gf
    lib/resource/api/ConstructorsCat.gf
    lib/resource/api/ConstructorsDan.gf
    lib/resource/api/ConstructorsEng.gf
    lib/resource/api/ConstructorsFin.gf
    lib/resource/api/ConstructorsFre.gf
    lib/resource/api/ConstructorsGer.gf
    lib/resource/api/ConstructorsIta.gf
    lib/resource/api/ConstructorsNor.gf
    lib/resource/api/ConstructorsRus.gf
    lib/resource/api/ConstructorsSpa.gf
    lib/resource/api/ConstructorsSwe.gf
    lib/resource/api/Syntax.gf
    lib/resource/api/SyntaxBul.gf
    lib/resource/api/SyntaxCat.gf
    lib/resource/api/SyntaxDan.gf
    lib/resource/api/SyntaxEng.gf
    lib/resource/api/SyntaxFin.gf
    lib/resource/api/SyntaxFre.gf
    lib/resource/api/SyntaxGer.gf
    lib/resource/api/SyntaxIta.gf
    lib/resource/api/SyntaxNor.gf
    lib/resource/api/SyntaxRus.gf
    lib/resource/api/SyntaxSpa.gf
    lib/resource/api/SyntaxSwe.gf
    lib/resource/api/TryBul.gf
    lib/resource/api/TryCat.gf
    lib/resource/api/TryDan.gf
    lib/resource/api/TryEng.gf
    lib/resource/api/TryFin.gf
    lib/resource/api/TryFre.gf
    lib/resource/api/TryGer.gf
    lib/resource/api/TryIta.gf
    lib/resource/api/TryNor.gf
    lib/resource/api/TryRus.gf
    lib/resource/api/TrySpa.gf
    lib/resource/api/TrySwe.gf
    lib/resource/arabic/AdjectiveAra.gf
    lib/resource/arabic/AdverbAra.gf
    lib/resource/arabic/AllAra.gf
    lib/resource/arabic/AllAraAbs.gf
    lib/resource/arabic/CatAra.gf
    lib/resource/arabic/ConjunctionAra.gf
    lib/resource/arabic/ExtAra.gf
    lib/resource/arabic/GrammarAra.gf
    lib/resource/arabic/IdiomAra.gf
    lib/resource/arabic/IrregAra.gf
    lib/resource/arabic/LangAra.gf
    lib/resource/arabic/LexiconAra.gf
    lib/resource/arabic/MorphoAra.gf
    lib/resource/arabic/NounAra.gf
    lib/resource/arabic/NumeralAra.gf
    lib/resource/arabic/OrthoAra.gf
    lib/resource/arabic/ParadigmsAra.gf
    lib/resource/arabic/PatternsAra.gf
    lib/resource/arabic/PhraseAra.gf
    lib/resource/arabic/QuestionAra.gf
    lib/resource/arabic/RelativeAra.gf
    lib/resource/arabic/ResAra.gf
    lib/resource/arabic/SentenceAra.gf
    lib/resource/arabic/StructuralAra.gf
    lib/resource/arabic/VerbAra.gf
    lib/resource/bulgarian/AdjectiveBul.gf
    lib/resource/bulgarian/AdverbBul.gf
    lib/resource/bulgarian/AllBul.gf
    lib/resource/bulgarian/AllBulAbs.gf
    lib/resource/bulgarian/CatBul.gf
    lib/resource/bulgarian/ConjunctionBul.gf
    lib/resource/bulgarian/ExtraBul.gf
    lib/resource/bulgarian/ExtraBulAbs.gf
    lib/resource/bulgarian/GrammarBul.gf
    lib/resource/bulgarian/IdiomBul.gf
    lib/resource/bulgarian/LangBul.gf
    lib/resource/bulgarian/LexiconBul.gf
    lib/resource/bulgarian/MorphoBul.gf
    lib/resource/bulgarian/MorphoFunsBul.gf
    lib/resource/bulgarian/NounBul.gf
    lib/resource/bulgarian/NumeralBul.gf
    lib/resource/bulgarian/ParadigmsBul.gf
    lib/resource/bulgarian/PhraseBul.gf
    lib/resource/bulgarian/QuestionBul.gf
    lib/resource/bulgarian/RelativeBul.gf
    lib/resource/bulgarian/ResBul.gf
    lib/resource/bulgarian/SentenceBul.gf
    lib/resource/bulgarian/StructuralBul.gf
    lib/resource/bulgarian/TextBul.gf
    lib/resource/bulgarian/VerbBul.gf
    lib/resource/catalan/AdjectiveCat.gf
    lib/resource/catalan/AdverbCat.gf
    lib/resource/catalan/AllCat.gf
    lib/resource/catalan/AllCatAbs.gf
    lib/resource/catalan/BeschCat.gf
    lib/resource/catalan/CatCat.gf
    lib/resource/catalan/ConjunctionCat.gf
    lib/resource/catalan/DiffCat.gf
    lib/resource/catalan/ExtraCat.gf
    lib/resource/catalan/ExtraCatAbs.gf
    lib/resource/catalan/ExtraRomanceCat.gf
    lib/resource/catalan/GrammarCat.gf
    lib/resource/catalan/IdiomCat.gf
    lib/resource/catalan/IrregCat.gf
    lib/resource/catalan/IrregCatAbs.gf
    lib/resource/catalan/LangCat.gf
    lib/resource/catalan/LexiconCat.gf
    lib/resource/catalan/MorphoCat.gf
    lib/resource/catalan/NounCat.gf
    lib/resource/catalan/NumeralCat.gf
    lib/resource/catalan/ParadigmsCat.gf
    lib/resource/catalan/PhonoCat.gf
    lib/resource/catalan/PhraseCat.gf
    lib/resource/catalan/QuestionCat.gf
    lib/resource/catalan/RelativeCat.gf
    lib/resource/catalan/ResCat.gf
    lib/resource/catalan/SentenceCat.gf
    lib/resource/catalan/StructuralCat.gf
    lib/resource/catalan/VerbCat.gf
    lib/resource/common/CommonX.gf
    lib/resource/common/ConstructX.gf
    lib/resource/common/ParamX.gf
    lib/resource/common/TenseX.gf
    lib/resource/common/TextX.gf
    lib/resource/danish/AdjectiveDan.gf
    lib/resource/danish/AdverbDan.gf
    lib/resource/danish/AllDan.gf
    lib/resource/danish/AllDanAbs.gf
    lib/resource/danish/CatDan.gf
    lib/resource/danish/ConjunctionDan.gf
    lib/resource/danish/DiffDan.gf
    lib/resource/danish/ExtraDan.gf
    lib/resource/danish/ExtraDanAbs.gf
    lib/resource/danish/ExtraScandDan.gf
    lib/resource/danish/GrammarDan.gf
    lib/resource/danish/IdiomDan.gf
    lib/resource/danish/IrregDan.gf
    lib/resource/danish/IrregDanAbs.gf
    lib/resource/danish/LangDan.gf
    lib/resource/danish/LexiconDan.gf
    lib/resource/danish/MathDan.gf
    lib/resource/danish/MorphoDan.gf
    lib/resource/danish/NounDan.gf
    lib/resource/danish/NumeralDan.gf
    lib/resource/danish/ParadigmsDan.gf
    lib/resource/danish/PhraseDan.gf
    lib/resource/danish/QuestionDan.gf
    lib/resource/danish/RelativeDan.gf
    lib/resource/danish/ResDan.gf
    lib/resource/danish/SentenceDan.gf
    lib/resource/danish/StructuralDan.gf
    lib/resource/danish/VerbDan.gf
    lib/resource/demo/Clause.gf
    lib/resource/demo/ClauseEng.gf
    lib/resource/demo/ClauseFin.gf
    lib/resource/demo/ClauseFre.gf
    lib/resource/demo/ClauseGer.gf
    lib/resource/demo/ClauseI.gf
    lib/resource/demo/Demo.gf
    lib/resource/demo/DemoEng.gf
    lib/resource/demo/DemoFin.gf
    lib/resource/demo/DemoFre.gf
    lib/resource/demo/DemoGer.gf
    lib/resource/english/AdjectiveEng.gf
    lib/resource/english/AdverbEng.gf
    lib/resource/english/AllEng.gf
    lib/resource/english/AllEngAbs.gf
    lib/resource/english/BackwardEng.gf
    lib/resource/english/CatEng.gf
    lib/resource/english/ConjunctionEng.gf
    lib/resource/english/ExtraEng.gf
    lib/resource/english/ExtraEngAbs.gf
    lib/resource/english/GrammarEng.gf
    lib/resource/english/IdiomEng.gf
    lib/resource/english/IrregEng.gf
    lib/resource/english/IrregEngAbs.gf
    lib/resource/english/LangEng.gf
    lib/resource/english/LexiconEng.gf
    lib/resource/english/MorphoEng.gf
    lib/resource/english/NounEng.gf
    lib/resource/english/NumeralEng.gf
    lib/resource/english/ParadigmsEng.gf
    lib/resource/english/PhraseEng.gf
    lib/resource/english/QuestionEng.gf
    lib/resource/english/RelativeEng.gf
    lib/resource/english/ResEng.gf
    lib/resource/english/SentenceEng.gf
    lib/resource/english/StructuralEng.gf
    lib/resource/english/VerbEng.gf
    lib/resource/finnish/AdjectiveFin.gf
    lib/resource/finnish/AdverbFin.gf
    lib/resource/finnish/AllFin.gf
    lib/resource/finnish/AllFinAbs.gf
    lib/resource/finnish/CatFin.gf
    lib/resource/finnish/ConjunctionFin.gf
    lib/resource/finnish/ExtraFin.gf
    lib/resource/finnish/ExtraFinAbs.gf
    lib/resource/finnish/GrammarFin.gf
    lib/resource/finnish/IdiomFin.gf
    lib/resource/finnish/LangFin.gf
    lib/resource/finnish/LexiconFin.gf
    lib/resource/finnish/MorphoFin.gf
    lib/resource/finnish/NounFin.gf
    lib/resource/finnish/NumeralFin.gf
    lib/resource/finnish/ParadigmsFin.gf
    lib/resource/finnish/PhraseFin.gf
    lib/resource/finnish/QuestionFin.gf
    lib/resource/finnish/RelativeFin.gf
    lib/resource/finnish/ResFin.gf
    lib/resource/finnish/SentenceFin.gf
    lib/resource/finnish/StructuralFin.gf
    lib/resource/finnish/VerbFin.gf
    lib/resource/french/AdjectiveFre.gf
    lib/resource/french/AdverbFre.gf
    lib/resource/french/AllFre.gf
    lib/resource/french/AllFreAbs.gf
    lib/resource/french/BeschFre.gf
    lib/resource/french/CatFre.gf
    lib/resource/french/ConjunctionFre.gf
    lib/resource/french/DiffFre.gf
    lib/resource/french/ExtraFre.gf
    lib/resource/french/ExtraFreAbs.gf
    lib/resource/french/ExtraRomanceFre.gf
    lib/resource/french/GrammarFre.gf
    lib/resource/french/IdiomFre.gf
    lib/resource/french/IrregFre.gf
    lib/resource/french/IrregFreAbs.gf
    lib/resource/french/LangFre.gf
    lib/resource/french/LexiconFre.gf
    lib/resource/french/MorphoFre.gf
    lib/resource/french/NounFre.gf
    lib/resource/french/NumeralFre.gf
    lib/resource/french/ParadigmsFre.gf
    lib/resource/french/PhonoFre.gf
    lib/resource/french/PhraseFre.gf
    lib/resource/french/QuestionFre.gf
    lib/resource/french/RelativeFre.gf
    lib/resource/french/ResFre.gf
    lib/resource/french/SentenceFre.gf
    lib/resource/french/StructuralFre.gf
    lib/resource/french/VerbFre.gf
    lib/resource/german/AdjectiveGer.gf
    lib/resource/german/AdverbGer.gf
    lib/resource/german/AllGer.gf
    lib/resource/german/AllGerAbs.gf
    lib/resource/german/CatGer.gf
    lib/resource/german/ConjunctionGer.gf
    lib/resource/german/ExtGer.gf
    lib/resource/german/ExtraGer.gf
    lib/resource/german/ExtraGerAbs.gf
    lib/resource/german/GrammarGer.gf
    lib/resource/german/IdiomGer.gf
    lib/resource/german/IrregGer.gf
    lib/resource/german/IrregGerAbs.gf
    lib/resource/german/LangGer.gf
    lib/resource/german/LexiconGer.gf
    lib/resource/german/MorphoGer.gf
    lib/resource/german/NounGer.gf
    lib/resource/german/NumeralGer.gf
    lib/resource/german/ParadigmsGer.gf
    lib/resource/german/PhraseGer.gf
    lib/resource/german/QuestionGer.gf
    lib/resource/german/RelativeGer.gf
    lib/resource/german/ResGer.gf
    lib/resource/german/SentenceGer.gf
    lib/resource/german/StructuralGer.gf
    lib/resource/german/VerbGer.gf
    lib/resource/hindi/AdjectiveHin.gf
    lib/resource/hindi/AdverbHin.gf
    lib/resource/hindi/AllHin.gf
    lib/resource/hindi/AllHinAbs.gf
    lib/resource/hindi/BackwardHin.gf
    lib/resource/hindi/CatHin.gf
    lib/resource/hindi/ConjunctionHin.gf
    lib/resource/hindi/GrammarHin.gf
    lib/resource/hindi/IdiomHin.gf
    lib/resource/hindi/IrregHin.gf
    lib/resource/hindi/LangHin.gf
    lib/resource/hindi/LexiconHin.gf
    lib/resource/hindi/MorphoHin.gf
    lib/resource/hindi/NounHin.gf
    lib/resource/hindi/NumeralHin.gf
    lib/resource/hindi/ParadigmsHin.gf
    lib/resource/hindi/PhraseHin.gf
    lib/resource/hindi/QuestionHin.gf
    lib/resource/hindi/RelativeHin.gf
    lib/resource/hindi/ResHin.gf
    lib/resource/hindi/SentenceHin.gf
    lib/resource/hindi/StructuralHin.gf
    lib/resource/hindi/utf8/ParadigmsHin.gf
    lib/resource/hindi/VerbHin.gf
    lib/resource/interlingua/AdjectiveIna.gf
    lib/resource/interlingua/AdverbIna.gf
    lib/resource/interlingua/AllIna.gf
    lib/resource/interlingua/AllInaAbs.gf
    lib/resource/interlingua/CatIna.gf
    lib/resource/interlingua/ConjunctionIna.gf
    lib/resource/interlingua/ExtraIna.gf
    lib/resource/interlingua/GrammarIna.gf
    lib/resource/interlingua/IdiomIna.gf
    lib/resource/interlingua/IrregIna.gf
    lib/resource/interlingua/IrregInaAbs.gf
    lib/resource/interlingua/LangIna.gf
    lib/resource/interlingua/LexiconIna.gf
    lib/resource/interlingua/MorphoIna.gf
    lib/resource/interlingua/NounIna.gf
    lib/resource/interlingua/NumeralIna.gf
    lib/resource/interlingua/ParadigmsIna.gf
    lib/resource/interlingua/PhraseIna.gf
    lib/resource/interlingua/QuestionIna.gf
    lib/resource/interlingua/RelativeIna.gf
    lib/resource/interlingua/ResIna.gf
    lib/resource/interlingua/ResIna2.gf
    lib/resource/interlingua/SentenceIna.gf
    lib/resource/interlingua/StructuralIna.gf
    lib/resource/interlingua/VerbIna.gf
    lib/resource/italian/AdjectiveIta.gf
    lib/resource/italian/AdverbIta.gf
    lib/resource/italian/AllIta.gf
    lib/resource/italian/AllItaAbs.gf
    lib/resource/italian/BeschIta.gf
    lib/resource/italian/CatIta.gf
    lib/resource/italian/ConjunctionIta.gf
    lib/resource/italian/DiffIta.gf
    lib/resource/italian/ExtraIta.gf
    lib/resource/italian/ExtraItaAbs.gf
    lib/resource/italian/ExtraRomanceIta.gf
    lib/resource/italian/GrammarIta.gf
    lib/resource/italian/IdiomIta.gf
    lib/resource/italian/LangIta.gf
    lib/resource/italian/LexiconIta.gf
    lib/resource/italian/MorphoIta.gf
    lib/resource/italian/NounIta.gf
    lib/resource/italian/NumeralIta.gf
    lib/resource/italian/ParadigmsIta.gf
    lib/resource/italian/PhonoIta.gf
    lib/resource/italian/PhraseIta.gf
    lib/resource/italian/QuestionIta.gf
    lib/resource/italian/RelativeIta.gf
    lib/resource/italian/ResIta.gf
    lib/resource/italian/SentenceIta.gf
    lib/resource/italian/StructuralIta.gf
    lib/resource/italian/VerbIta.gf
    lib/resource/norwegian/AdjectiveNor.gf
    lib/resource/norwegian/AdverbNor.gf
    lib/resource/norwegian/AllNor.gf
    lib/resource/norwegian/AllNorAbs.gf
    lib/resource/norwegian/CatNor.gf
    lib/resource/norwegian/ConjunctionNor.gf
    lib/resource/norwegian/DiffNor.gf
    lib/resource/norwegian/ExtraNor.gf
    lib/resource/norwegian/ExtraNorAbs.gf
    lib/resource/norwegian/ExtraScandNor.gf
    lib/resource/norwegian/GrammarNor.gf
    lib/resource/norwegian/IdiomNor.gf
    lib/resource/norwegian/IrregNor.gf
    lib/resource/norwegian/IrregNorAbs.gf
    lib/resource/norwegian/LangNor.gf
    lib/resource/norwegian/LexiconNor.gf
    lib/resource/norwegian/MathNor.gf
    lib/resource/norwegian/MorphoNor.gf
    lib/resource/norwegian/NounNor.gf
    lib/resource/norwegian/NumeralNor.gf
    lib/resource/norwegian/ParadigmsNor.gf
    lib/resource/norwegian/PhraseNor.gf
    lib/resource/norwegian/QuestionNor.gf
    lib/resource/norwegian/RelativeNor.gf
    lib/resource/norwegian/ResNor.gf
    lib/resource/norwegian/SentenceNor.gf
    lib/resource/norwegian/StructuralNor.gf
    lib/resource/norwegian/VerbNor.gf
    lib/resource/romance/AdjectiveRomance.gf
    lib/resource/romance/AdverbRomance.gf
    lib/resource/romance/CatRomance.gf
    lib/resource/romance/CommonRomance.gf
    lib/resource/romance/ConjunctionRomance.gf
    lib/resource/romance/DiffRomance.gf
    lib/resource/romance/ExtraRomance.gf
    lib/resource/romance/ExtraRomanceAbs.gf
    lib/resource/romance/ExtRomance.gf
    lib/resource/romance/NounRomance.gf
    lib/resource/romance/PhraseRomance.gf
    lib/resource/romance/QuestionRomance.gf
    lib/resource/romance/RelativeRomance.gf
    lib/resource/romance/ResRomance.gf
    lib/resource/romance/SentenceRomance.gf
    lib/resource/romance/VerbRomance.gf
    lib/resource/russian/AdjectiveRus.gf
    lib/resource/russian/AdverbRus.gf
    lib/resource/russian/AllRus.gf
    lib/resource/russian/AllRusAbs.gf
    lib/resource/russian/CatRus.gf
    lib/resource/russian/ConjunctionRus.gf
    lib/resource/russian/ExtraRus.gf
    lib/resource/russian/ExtraRusAbs.gf
    lib/resource/russian/GrammarRus.gf
    lib/resource/russian/IdiomRus.gf
    lib/resource/russian/IrregRus.gf
    lib/resource/russian/LangRus.gf
    lib/resource/russian/LexiconRus.gf
    lib/resource/russian/MorphoRus.gf
    lib/resource/russian/NounRus.gf
    lib/resource/russian/NumeralRus.gf
    lib/resource/russian/ParadigmsRus.gf
    lib/resource/russian/PhraseRus.gf
    lib/resource/russian/QuestionRus.gf
    lib/resource/russian/RelativeRus.gf
    lib/resource/russian/ResRus.gf
    lib/resource/russian/SentenceRus.gf
    lib/resource/russian/StructuralRus.gf
    lib/resource/russian/VerbRus.gf
    lib/resource/scandinavian/AdjectiveScand.gf
    lib/resource/scandinavian/AdverbScand.gf
    lib/resource/scandinavian/CatScand.gf
    lib/resource/scandinavian/CommonScand.gf
    lib/resource/scandinavian/ConjunctionScand.gf
    lib/resource/scandinavian/DiffScand.gf
    lib/resource/scandinavian/ExtEngAbs.gf
    lib/resource/scandinavian/ExtraScand.gf
    lib/resource/scandinavian/ExtraScandAbs.gf
    lib/resource/scandinavian/NounScand.gf
    lib/resource/scandinavian/PhraseScand.gf
    lib/resource/scandinavian/QuestionScand.gf
    lib/resource/scandinavian/RelativeScand.gf
    lib/resource/scandinavian/ResScand.gf
    lib/resource/scandinavian/SentenceScand.gf
    lib/resource/scandinavian/VerbScand.gf
    lib/resource/spanish/AdjectiveSpa.gf
    lib/resource/spanish/AdverbSpa.gf
    lib/resource/spanish/AllSpa.gf
    lib/resource/spanish/AllSpaAbs.gf
    lib/resource/spanish/BeschSpa.gf
    lib/resource/spanish/CatSpa.gf
    lib/resource/spanish/ConjunctionSpa.gf
    lib/resource/spanish/DiffSpa.gf
    lib/resource/spanish/ExtraRomanceSpa.gf
    lib/resource/spanish/ExtraSpa.gf
    lib/resource/spanish/ExtraSpaAbs.gf
    lib/resource/spanish/GrammarSpa.gf
    lib/resource/spanish/IdiomSpa.gf
    lib/resource/spanish/IrregSpa.gf
    lib/resource/spanish/IrregSpaAbs.gf
    lib/resource/spanish/LangSpa.gf
    lib/resource/spanish/LexiconSpa.gf
    lib/resource/spanish/MorphoSpa.gf
    lib/resource/spanish/NounSpa.gf
    lib/resource/spanish/NumeralSpa.gf
    lib/resource/spanish/ParadigmsSpa.gf
    lib/resource/spanish/PhonoSpa.gf
    lib/resource/spanish/PhraseSpa.gf
    lib/resource/spanish/QuestionSpa.gf
    lib/resource/spanish/RelativeSpa.gf
    lib/resource/spanish/ResSpa.gf
    lib/resource/spanish/SentenceSpa.gf
    lib/resource/spanish/StructuralSpa.gf
    lib/resource/spanish/TextSpa.gf
    lib/resource/spanish/VerbSpa.gf
    lib/resource/swedish/AdjectiveSwe.gf
    lib/resource/swedish/AdverbSwe.gf
    lib/resource/swedish/AllSwe.gf
    lib/resource/swedish/AllSweAbs.gf
    lib/resource/swedish/CatSwe.gf
    lib/resource/swedish/ConjunctionSwe.gf
    lib/resource/swedish/DiffSwe.gf
    lib/resource/swedish/ExtraScandSwe.gf
    lib/resource/swedish/ExtraSwe.gf
    lib/resource/swedish/ExtraSweAbs.gf
    lib/resource/swedish/GrammarSwe.gf
    lib/resource/swedish/IdiomSwe.gf
    lib/resource/swedish/IrregSwe.gf
    lib/resource/swedish/IrregSweAbs.gf
    lib/resource/swedish/LangSwe.gf
    lib/resource/swedish/LexiconSwe.gf
    lib/resource/swedish/MorphoSwe.gf
    lib/resource/swedish/NounSwe.gf
    lib/resource/swedish/NumeralSwe.gf
    lib/resource/swedish/ParadigmsSwe.gf
    lib/resource/swedish/PhraseSwe.gf
    lib/resource/swedish/QuestionSwe.gf
    lib/resource/swedish/RelativeSwe.gf
    lib/resource/swedish/ResSwe.gf
    lib/resource/swedish/SentenceSwe.gf
    lib/resource/swedish/StructuralSwe.gf
    lib/resource/swedish/VerbSwe.gf
    lib/resource/thai/AdjectiveTha.gf
    lib/resource/thai/AdverbTha.gf
    lib/resource/thai/AllTha.gf
    lib/resource/thai/AllThaAbs.gf
    lib/resource/thai/CatTha.gf
    lib/resource/thai/ConjunctionTha.gf
    lib/resource/thai/ExtraTha.gf
    lib/resource/thai/GrammarTha.gf
    lib/resource/thai/IdiomTha.gf
    lib/resource/thai/IrregTha.gf
    lib/resource/thai/LangTha.gf
    lib/resource/thai/LexiconTha.gf
    lib/resource/thai/MorphoTha.gf
    lib/resource/thai/NounTha.gf
    lib/resource/thai/NumeralTha.gf
    lib/resource/thai/ParadigmsTha.gf
    lib/resource/thai/PhraseTha.gf
    lib/resource/thai/QuestionTha.gf
    lib/resource/thai/RelativeTha.gf
    lib/resource/thai/ResTha.gf
    lib/resource/thai/SentenceTha.gf
    lib/resource/thai/StringsTha.gf
    lib/resource/thai/StructuralTha.gf
    lib/resource/thai/VerbTha.gf
    lib/LICENSE

flag readline
  Description: Enable Readline in the shell
  Default:     True

flag interrupt
  Description: Enable Ctrl+Break in the shell
  Default:     True

library
  build-depends: base,
                 array,
                 containers,
                 bytestring,
                 random
  ghc-options: -O2
  hs-source-dirs: src
  extensions: 
  exposed-modules: 
    PGF
  other-modules:
    PGF.CId
    PGF.Data
    PGF.Macros
    PGF.Generate
    PGF.Linearize
    PGF.BuildParser
    PGF.Parsing.FCFG.Utilities
    PGF.Parsing.FCFG.Active
    PGF.Parsing.FCFG.Incremental
    PGF.Parsing.FCFG
    PGF.Expr
    PGF.Raw.Parse
    PGF.Raw.Print
    PGF.Raw.Convert
    PGF.Raw.Abstract
    GF.Data.MultiMap
    GF.Data.Utilities
    GF.Data.SortedList
    GF.Data.Assoc
    GF.Data.ErrM
    GF.Text.UTF8
-- needed only for the on demand generation of PMCFG
    GF.Data.BacktrackM
    GF.Compile.GenerateFCFG
    GF.Compile.GeneratePMCFG

executable gf
  build-depends: base,
                 array,
                 containers,
                 bytestring,
                 filepath,
                 directory,
                 random,
                 old-time,
                 process,
                 pretty,
                 mtl
  if os(windows)
    build-depends: Win32
  else
    build-depends: unix
  ghc-options: -O2
  hs-source-dirs: src
  extensions:
  main-is: GF.hs
  other-modules:
    GF.Source.ErrM
    GF.Grammar.ReservedWords
    GF.Data.BacktrackM
    GF.Source.SharedString
    GF.Source.LexGF
    GF.Source.AbsGF
    GF.Source.PrintGF
    GF.JavaScript.AbsJS
    GF.JavaScript.PrintJS
    GF.Infra.CompactPrint
    GF.Text.UTF8
    GF.Data.MultiMap
    GF.Data.Utilities
    GF.Data.SortedList
    GF.Data.Assoc
    GF.Infra.PrintClass
    GF.Compile.GenerateFCFG
    GF.Data.ErrM
    GF.Source.ParGF
    GF.Data.Operations
    GF.Infra.Ident
    GF.Grammar.Predef
    GF.Data.Str
    GF.Data.Zipper
    GF.Infra.GetOpt
    GF.Infra.Option
    GF.Infra.UseIO
    GF.Command.Commands
    GF.Command.Interpreter
    GF.Command.Abstract
    GF.Command.Parse
    GF.Command.Importing
    GF.Infra.Modules
    GF.Grammar.Grammar
    GF.Source.GrammarToSource
    GF.Grammar.Values
    GF.Grammar.PrGrammar
    GF.Grammar.Macros
    GF.Grammar.Lockfield
    GF.Grammar.MMacros
    GF.Grammar.Abstract
    GF.Grammar.Lookup
    GF.Compile.RemoveLiT
    GF.Grammar.LookAbs
    GF.Compile.TC
    GF.Grammar.Unify
    GF.Compile.TypeCheck
    GF.Compile.Update
    GF.Infra.CheckM
    GF.Grammar.AppPredefined 
    GF.Grammar.PatternMatch
    GF.Compile.CheckGrammar
    GF.Compile.Refresh
    GF.Compile.BackOpt
    GF.Compile.Extend
    GF.Compile.Rename
    GF.Compile.ReadFiles
    GF.Compile.GrammarToGFCC
    GF.Compile.Compute
    GF.Compile.Optimize
    GF.Compile.OptimizeGF
    GF.Compile.OptimizeGFCC
    GF.Compile.ModDeps
    GF.Compile.Rebuild
    GF.Source.SourceToGrammar
    GF.Compile.GetGrammar
    GF.Compile
    GF.System.Readline
    PGF
    PGF.CId
    PGF.Data
    PGF.Macros
    PGF.Generate
    PGF.Linearize
    PGF.BuildParser
    PGF.Parsing.FCFG.Utilities
    PGF.Parsing.FCFG.Active
    PGF.Parsing.FCFG
    PGF.Raw.Parse
    PGF.Raw.Print
    PGF.Raw.Convert
    PGF.Raw.Abstract
    GFC
    GFI
  
  if flag(readline)
    build-depends: readline
    ghc-options: -DUSE_READLINE
    other-modules: GF.System.UseReadline
  else
    other-modules: GF.System.NoReadline
  
  if flag(interrupt)
    ghc-options: -DUSE_INTERRUPT
    other-modules: GF.System.UseSignal
  else
    other-modules: GF.System.NoSignal