1
0
forked from GitHub/gf-core

add Cabal description for GF

This commit is contained in:
kr.angelov
2008-05-23 13:12:11 +00:00
parent 7f1cde91df
commit 25d3602a15
7 changed files with 169 additions and 56 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env runghc
> module Main where
> import Distribution.Simple
> main :: IO ()
> main = defaultMain