moved all old source code to src-2.9 ; src will be for GF 3 development

This commit is contained in:
aarne
2008-05-20 11:47:44 +00:00
parent 747965ec22
commit fda0fe408f
494 changed files with 116978 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
module GF.Devel.GFC.Main where
import GF.Devel.GFC.Options
import System.Environment
import System.Exit
import System.IO
version = "X.X"
main :: IO ()
main =
do args <- getArgs
case parseOptions args of
Ok (opts, files) ->
case optMode opts of
Version -> putStrLn $ "GF, version " ++ version
Help -> putStr helpMessage
Compiler -> gfcMain opts files
Errors errs ->
do mapM_ (hPutStrLn stderr) errs
exitFailure
gfcMain :: Options -> [FilePath] -> IO ()
gfcMain opts files = return ()