mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 10:48:54 -06:00
Remove PGF from PGF2, clean up PGF2 cabal file.
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
module PGF(module PGF2) where
|
|
||||||
|
|
||||||
import PGF2
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
module PGF.Internal where
|
|
||||||
@@ -1,37 +1,47 @@
|
|||||||
name: pgf2
|
name: pgf2
|
||||||
version: 0.1.0.0
|
version: 1.0.0
|
||||||
-- synopsis:
|
synopsis: Bindings to the Grammatical Framework C runtime
|
||||||
-- description:
|
description:
|
||||||
homepage: http://www.grammaticalframework.org
|
GF, Grammatical Framework, is a programming language for multilingual grammar applications.
|
||||||
license: LGPL-3
|
GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C.
|
||||||
--license-file: LICENSE
|
This package provides Haskell bindings to that runtime.
|
||||||
author: Krasimir Angelov, Inari
|
homepage: https://www.grammaticalframework.org
|
||||||
maintainer:
|
license: LGPL-3
|
||||||
-- copyright:
|
author: Krasimir Angelov, Inari Listenmaa
|
||||||
category: Language
|
category: Language
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
extra-source-files: README
|
extra-source-files: README
|
||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: PGF2, PGF2.Internal, SG
|
exposed-modules:
|
||||||
-- backwards compatibility API:
|
PGF2,
|
||||||
--, PGF, PGF.Internal
|
PGF2.Internal,
|
||||||
other-modules: PGF2.FFI, PGF2.Expr, PGF2.Type, SG.FFI
|
SG
|
||||||
build-depends: base >=4.3,
|
other-modules:
|
||||||
containers, pretty
|
PGF2.FFI,
|
||||||
-- hs-source-dirs:
|
PGF2.Expr,
|
||||||
default-language: Haskell2010
|
PGF2.Type,
|
||||||
build-tools: hsc2hs
|
SG.FFI
|
||||||
|
build-depends:
|
||||||
extra-libraries: sg pgf gu
|
base >=4.3,
|
||||||
cc-options: -std=c99
|
containers,
|
||||||
c-sources: utils.c
|
pretty
|
||||||
|
default-language: Haskell2010
|
||||||
|
build-tools: hsc2hs
|
||||||
|
extra-libraries: sg pgf gu
|
||||||
|
cc-options: -std=c99
|
||||||
|
c-sources: utils.c
|
||||||
|
|
||||||
executable pgf-shell
|
executable pgf-shell
|
||||||
main-is: pgf-shell.hs
|
main-is: pgf-shell.hs
|
||||||
hs-source-dirs: examples
|
hs-source-dirs: examples
|
||||||
build-depends: base, pgf2, containers, mtl, lifted-base
|
build-depends:
|
||||||
default-language: Haskell2010
|
base,
|
||||||
|
containers,
|
||||||
|
lifted-base,
|
||||||
|
mtl,
|
||||||
|
pgf2
|
||||||
|
default-language: Haskell2010
|
||||||
if impl(ghc>=7.0)
|
if impl(ghc>=7.0)
|
||||||
ghc-options: -rtsopts
|
ghc-options: -rtsopts
|
||||||
|
|||||||
Reference in New Issue
Block a user