diff options
| author | kr.angelov <kr.angelov@chalmers.se> | 2008-05-23 13:12:11 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@chalmers.se> | 2008-05-23 13:12:11 +0000 |
| commit | 16ba392ee4b54a4ad008a439bcdb7dd98941aa60 (patch) | |
| tree | 422a362b048ee26f6e8cda89be8f02aa765c6d42 /src-3.0 | |
| parent | 4c14927914ef2ba97aee2d2ab99b48daffdd68bc (diff) | |
add Cabal description for GF
Diffstat (limited to 'src-3.0')
| -rw-r--r-- | src-3.0/GF-embed.cabal | 52 | ||||
| -rw-r--r-- | src-3.0/GF/Command/PrintGFShell.hs | 2 | ||||
| -rw-r--r-- | src-3.0/GF/Compile/GetGrammar.hs | 2 | ||||
| -rw-r--r-- | src-3.0/GF/Compile/ReadFiles.hs | 1 | ||||
| -rw-r--r-- | src-3.0/GF/JavaScript/PrintJS.hs | 2 | ||||
| -rw-r--r-- | src-3.0/Setup.lhs | 8 |
6 files changed, 3 insertions, 64 deletions
diff --git a/src-3.0/GF-embed.cabal b/src-3.0/GF-embed.cabal deleted file mode 100644 index 54dce00b6..000000000 --- a/src-3.0/GF-embed.cabal +++ /dev/null @@ -1,52 +0,0 @@ -Name: gf-embed -Version: 2.8 -Cabal-version: >= 1.2 -Build-type: Simple -License: GPL -License-file: ../LICENSE -Synopsis: Grammatical Framework embedded API. - -Flag split-base - -Library - Build-depends: mtl, haskell98 - if flag(split-base) - Build-depends: base >= 3.0, array, containers, directory, random - else - Build-depends: base < 3.0 - Ghc-options: -O2 - Extensions: - Exposed-Modules: - GF.GFCC.API - -- needed by code generated by -haskell - GF.GFCC.DataGFCC - GF.GFCC.CId - Other-modules: - GF.Conversion.SimpleToFCFG - GF.Data.Assoc - GF.Data.Utilities - GF.Data.SortedList - GF.Data.BacktrackM - GF.Data.ErrM - GF.Data.GeneralDeduction - GF.Data.RedBlackSet - GF.Text.UTF8 - GF.Infra.CompactPrint - GF.Infra.PrintClass - GF.Formalism.FCFG - GF.Formalism.Utilities - GF.Parsing.FCFG - GF.Parsing.FCFG.PInfo - GF.Parsing.FCFG.Range - GF.Parsing.FCFG.Active - GF.Command.PPrTree - GF.Command.AbsGFShell - GF.Command.PrintGFShell - GF.Command.ParGFShell - GF.Command.LexGFShell - GF.GFCC.Macros - GF.GFCC.Generate - GF.GFCC.Linearize - GF.GFCC.Raw.AbsGFCCRaw - GF.GFCC.Raw.ParGFCCRaw - GF.GFCC.Raw.ConvertGFCC diff --git a/src-3.0/GF/Command/PrintGFShell.hs b/src-3.0/GF/Command/PrintGFShell.hs index 31a4584b6..0a02e78e9 100644 --- a/src-3.0/GF/Command/PrintGFShell.hs +++ b/src-3.0/GF/Command/PrintGFShell.hs @@ -4,7 +4,7 @@ module GF.Command.PrintGFShell where -- pretty-printer generated by the BNF converter import GF.Command.AbsGFShell -import Char +import Data.Char -- the top-level printing method printTree :: Print a => a -> String diff --git a/src-3.0/GF/Compile/GetGrammar.hs b/src-3.0/GF/Compile/GetGrammar.hs index 8e6c887bf..4637da09a 100644 --- a/src-3.0/GF/Compile/GetGrammar.hs +++ b/src-3.0/GF/Compile/GetGrammar.hs @@ -35,7 +35,7 @@ import Data.Char (toUpper) import Data.List (nub) import qualified Data.ByteString.Char8 as BS import Control.Monad (foldM) -import System (system) +import System.Cmd (system) getSourceModule :: Options -> FilePath -> IOE SourceModule getSourceModule opts file0 = do diff --git a/src-3.0/GF/Compile/ReadFiles.hs b/src-3.0/GF/Compile/ReadFiles.hs index 2f485224c..f1f94c105 100644 --- a/src-3.0/GF/Compile/ReadFiles.hs +++ b/src-3.0/GF/Compile/ReadFiles.hs @@ -34,7 +34,6 @@ import Data.Char import Data.List import qualified Data.ByteString.Char8 as BS import qualified Data.Map as Map -import System import System.Time import System.Directory import System.FilePath diff --git a/src-3.0/GF/JavaScript/PrintJS.hs b/src-3.0/GF/JavaScript/PrintJS.hs index 66e78346e..4e04e3cbf 100644 --- a/src-3.0/GF/JavaScript/PrintJS.hs +++ b/src-3.0/GF/JavaScript/PrintJS.hs @@ -4,7 +4,7 @@ module GF.JavaScript.PrintJS (printTree, Doc, Print(..)) where -- pretty-printer generated by the BNF converter import GF.JavaScript.AbsJS -import Char +import Data.Char -- the top-level printing method printTree :: Print a => a -> String diff --git a/src-3.0/Setup.lhs b/src-3.0/Setup.lhs deleted file mode 100644 index e2c31e7ca..000000000 --- a/src-3.0/Setup.lhs +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env runghc - -> module Main where - -> import Distribution.Simple - -> main :: IO () -> main = defaultMain |
