summaryrefslogtreecommitdiff
path: root/src/FILES
blob: 48cf848886374928494e82f086a1c77bf2541f38 (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
Code map for GF source files. AR 22/10/2004

Directories:

[top level] GF main function and runtime-related modules
api         high-level access to GF functionalities
canonical   GFC (= GF Canonical) basic functionalities
cf          context-free skeleton used in parsing
cfgm        multilingual context-free skeleton exported to Java
compile     compilation phases from GF to GFC
conversions formats used in parser generation
for-ghc     GHC-specific files (Glasgow Haskell Compiler)
for-hugs    Hugs-specific files (a Haskell interpreter)
for-windows Windows-specific files (an operating system from Microsoft)
grammar     basic functionalities of GF grammars used in compilation
infra       GF-independent infrastructure and auxiliaries
newparsing  parsing with GF grammars: forthcoming version (cf. parsing)
notrace     debugging utilities for parser development (cf. trace)
parsers     parsers of GF and GFC files
parsing     parsing with GF grammars: current version (cf. newparsing)
shell       interaction shells
source      utilities for reading in GF source files
speech      generation of speech recognition grammars
trace       debugging utilities for parser development (cf. notrace)
useGrammar  grammar functionalities for applications
util        utilities for using GF


Individual files:

GF.hs                  the Main module
GFModes.hs
HelpFile.hs            help file generated by util/MkHelpFile
Today.hs               file generated by "make today"

api/API.hs             high-level access to GF functionalities
api/BatchTranslate.hs
api/GetMyTree.hs
api/GrammarToHaskell.hs
api/IOGrammar.hs
api/MyParser.hs        slot for defining your own parser

canonical/AbsGFC.hs    abstract syntax of GFC
canonical/CanonToGrammar.hs
canonical/CMacros.hs
canonical/ErrM.hs
canonical/GetGFC.hs
canonical/GFC.cf       LBNF source of GFC parser
canonical/GFC.hs
canonical/LexGFC.hs
canonical/Look.hs
canonical/MkGFC.hs
canonical/PrExp.hs
canonical/PrintGFC.hs  pretty-printer of GFC
canonical/Share.hs
canonical/SkelGFC.hs
canonical/TestGFC.hs
canonical/Unlex.hs

cf/CanonToCF.hs
cf/CF.hs               abstract syntax of context-free grammars
cf/CFIdent.hs
cf/CFtoGrammar.hs
cf/CFtoSRG.hs
cf/ChartParser.hs      the current default parsing method
cf/EBNF.hs
cf/PPrCF.hs
cf/PrLBNF.hs
cf/Profile.hs

cfgm/AbsCFG.hs
cfgm/LexCFG.hs
cfgm/ParCFG.hs
cfgm/PrintCFG.hs
cfgm/PrintCFGrammar.hs

compile/CheckGrammar.hs
compile/Compile.hs      the complete compiler pipeline
compile/Extend.hs
compile/GetGrammar.hs
compile/GrammarToCanon.hs
compile/MkResource.hs
compile/MkUnion.hs
compile/ModDeps.hs
compile/Optimize.hs
compile/PGrammar.hs
compile/PrOld.hs
compile/Rebuild.hs
compile/RemoveLiT.hs
compile/Rename.hs
compile/ShellState.hs   the run-time multilingual grammar datastructure
compile/Update.hs

conversions/CanonToTNF.hs
conversions/ConversionUtils.hs
conversions/ConvertGrammar.hs
conversions/GrammarTypes.hs
conversions/MCFGtoCFG.hs
conversions/PrintSimplifiedTerm.hs
conversions/TestConversions.hs
conversions/TestGrammarHealth.hs
conversions/TestGrammars.hs
conversions/TNFtoMCFG.hs

for-ghc/ArchEdit.hs
for-ghc/Arch.hs

for-ghc-nofud/ArchEdit.hs@
for-ghc-nofud/Arch.hs@

for-hugs/ArchEdit.hs
for-hugs/Arch.hs
for-hugs/JGF.hs
for-hugs/MoreCustom.hs
for-hugs/ParGFC.hs         dummy GFC parser
for-hugs/ParGF.hs          dummy GF parser
for-hugs/Unicode.hs

for-windows/ArchEdit.hs
for-windows/Arch.hs

grammar/AbsCompute.hs
grammar/Abstract.hs        GF and GFC abstract syntax datatypes
grammar/AppPredefined.hs
grammar/Compute.hs
grammar/Grammar.hs         GF source grammar datatypes
grammar/LookAbs.hs
grammar/Lookup.hs          
grammar/Macros.hs          macros for creating GF terms and types
grammar/MMacros.hs         more macros, mainly for abstract syntax
grammar/PatternMatch.hs
grammar/PrGrammar.hs       the top-level grammar printer
grammar/Refresh.hs
grammar/ReservedWords.hs
grammar/TC.hs              Coquand's type checking engine
grammar/TypeCheck.hs
grammar/Unify.hs
grammar/Values.hs

infra/Arabic.hs            ASCII coding of Arabic Unicode
infra/Assoc.hs
infra/CheckM.hs
infra/Comments.hs
infra/Devanagari.hs        ASCII coding of Devanagari Unicode
infra/ErrM.hs
infra/Ethiopic.hs
infra/EventF.hs
infra/ExtendedArabic.hs
infra/ExtraDiacritics.hs
infra/FudgetOps.hs
infra/Glue.hs
infra/Greek.hs
infra/Hebrew.hs
infra/Hiragana.hs
infra/Ident.hs
infra/LatinASupplement.hs
infra/Map.hs
infra/Modules.hs
infra/OCSCyrillic.hs
infra/Operations.hs        library of strings, search trees, error monads
infra/Option.hs
infra/OrdMap2.hs
infra/OrdSet.hs
infra/Parsers.hs
infra/ReadFiles.hs
infra/RedBlack.hs
infra/RedBlackSet.hs
infra/Russian.hs
infra/SortedList.hs
infra/Str.hs
infra/Tamil.hs
infra/Text.hs
infra/Trie2.hs
infra/Trie.hs
infra/UnicodeF.hs
infra/Unicode.hs
infra/UseIO.hs
infra/UTF8.hs              UTF3 en/decoding
infra/Zipper.hs

newparsing/CFGrammar.hs
newparsing/CFParserGeneral.hs
newparsing/CFParserIncremental.hs
newparsing/ConvertGFCtoMCFG.hs
newparsing/ConvertGrammar.hs
newparsing/ConvertMCFGtoCFG.hs
newparsing/GeneralChart.hs
newparsing/GrammarTypes.hs
newparsing/IncrementalChart.hs
newparsing/MCFGrammar.hs
newparsing/MCFParserBasic.hs
newparsing/MCFRange.hs
newparsing/ParseCFG.hs
newparsing/ParseCF.hs
newparsing/ParseGFC.hs
newparsing/ParseMCFG.hs
newparsing/Parser.hs
newparsing/PrintParser.hs
newparsing/PrintSimplifiedTerm.hs

notrace/Tracing.hs

parsers/ParGFC.hs
parsers/ParGF.hs
parsing/CFG.hs
parsing/CFParserGeneral.hs
parsing/CFParserIncremental.hs
parsing/CFtoCFG.hs
parsing/ExportParser.hs
parsing/GeneralChart.hs
parsing/IncrementalChart.hs
parsing/MCFG.hs
parsing/MCFParserGeneral.hs
parsing/MCFParserSimple.hs
parsing/MCFRange.hs
parsing/NewChartParser.hs
parsing/NewerChartParser.hs
parsing/NewestChartParser.hs
parsing/ParseCF.hs
parsing/ParseGFC.hs
parsing/Parser.hs
parsing/ParserUtils.hs
parsing/PrintParser.hs
parsing/TestCFGrammar.hs
parsing/TestCFParser.hs
parsing/TestMCFGrammar.hs
parsing/TestMCFParser.hs

shell/CommandF.hs
shell/CommandL.hs           line-based syntax of editor commands
shell/Commands.hs           commands of GF editor shell
shell/IDE.hs
shell/JGF.hs
shell/PShell.hs
shell/ShellCommands.hs      commands of GF main shell
shell/Shell.hs
shell/SubShell.hs
shell/TeachYourself.hs

source/AbsGF.hs
source/ErrM.hs
source/GF.cf                LBNF source of GF parser
source/GrammarToSource.hs
source/LexGF.hs
source/PrintGF.hs
source/SourceToGrammar.hs

speech/PrGSL.hs
speech/PrJSGF.hs
speech/SRG.hs
speech/TransformCFG.hs

trace/Tracing.hs

translate/GFT.hs            Main module of html-producing batch translator

useGrammar/Custom.hs        database for customizable commands
useGrammar/Editing.hs
useGrammar/Generate.hs
useGrammar/GetTree.hs
useGrammar/Information.hs
useGrammar/Linear.hs        the linearization algorithm
useGrammar/MoreCustom.hs
useGrammar/Morphology.hs
useGrammar/Paraphrases.hs
useGrammar/Parsing.hs       the top-level parsing algorithm
useGrammar/Randomized.hs
useGrammar/RealMoreCustom.hs
useGrammar/Session.hs
useGrammar/TeachYourself.hs
useGrammar/Tokenize.hs      lexer definitions (listed in Custom)
useGrammar/Transfer.hs

util/GFDoc.hs              utility for producing LaTeX and HTML from GF
util(HelpFile              source of ../HelpFile.hs
util/Htmls.hs              utility for chopping a HTML document to slides
util/MkHelpFile.hs
util/WriteF.hs