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
