added mode 'gf --run' for running silently a script ; made quizzes handle character encoding correctly ; for this end, collected coding functions in GF.Text.Coding

This commit is contained in:
aarne
2008-10-01 16:01:51 +00:00
parent 307042a6a1
commit 429092ac6a
8 changed files with 93 additions and 52 deletions

View File

@@ -37,5 +37,6 @@ mainOpts opts files =
ModeVersion -> putStrLn $ "Grammatical Framework (GF) version " ++ showVersion version
ModeHelp -> putStrLn helpMessage
ModeInteractive -> mainGFI opts files
ModeRun -> mainRunGFI opts files
ModeCompiler -> dieIOE (mainGFC opts files)