mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
Some more cabal file cleanup. Add stack files for pgf, pgf2.
This commit is contained in:
9
gf.cabal
9
gf.cabal
@@ -8,10 +8,9 @@ license-file: LICENSE
|
|||||||
category: Natural Language Processing, Compiler
|
category: Natural Language Processing, Compiler
|
||||||
synopsis: Grammatical Framework
|
synopsis: Grammatical Framework
|
||||||
description: GF, Grammatical Framework, is a programming language for multilingual grammar applications
|
description: GF, Grammatical Framework, is a programming language for multilingual grammar applications
|
||||||
homepage: http://www.grammaticalframework.org/
|
homepage: https://www.grammaticalframework.org/
|
||||||
bug-reports: https://github.com/GrammaticalFramework/gf-core/issues
|
bug-reports: https://github.com/GrammaticalFramework/gf-core/issues
|
||||||
maintainer: Thomas Hallgren
|
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.10.4
|
||||||
tested-with: GHC==8.0.2, GHC==8.10.4
|
|
||||||
|
|
||||||
data-dir: src
|
data-dir: src
|
||||||
extra-source-files: WebSetup.hs
|
extra-source-files: WebSetup.hs
|
||||||
@@ -75,7 +74,7 @@ flag c-runtime
|
|||||||
library
|
library
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
build-depends:
|
build-depends:
|
||||||
-- | GHC 8.0.2 to GHC 8.10.4
|
-- GHC 8.0.2 to GHC 8.10.4
|
||||||
base >= 4.9.1 && <4.15,
|
base >= 4.9.1 && <4.15,
|
||||||
array >= 0.5.1 && < 0.6,
|
array >= 0.5.1 && < 0.6,
|
||||||
containers >= 0.5.7 && < 0.7,
|
containers >= 0.5.7 && < 0.7,
|
||||||
@@ -84,9 +83,9 @@ library
|
|||||||
random >= 1.1 && < 1.3,
|
random >= 1.1 && < 1.3,
|
||||||
pretty >= 1.1.3 && < 1.2,
|
pretty >= 1.1.3 && < 1.2,
|
||||||
mtl >= 2.2.1 && < 2.3,
|
mtl >= 2.2.1 && < 2.3,
|
||||||
|
-- For compatability with GHC < 8
|
||||||
exceptions >= 0.8.3 && < 0.11,
|
exceptions >= 0.8.3 && < 0.11,
|
||||||
fail >= 4.9.0 && < 4.10,
|
fail >= 4.9.0 && < 4.10,
|
||||||
-- For compatability with ghc < 8
|
|
||||||
-- We need transformers-compat >= 0.6.3, but that is only in newer snapshots where it is redundant.
|
-- We need transformers-compat >= 0.6.3, but that is only in newer snapshots where it is redundant.
|
||||||
transformers-compat >= 0.5.1.4 && < 0.7,
|
transformers-compat >= 0.5.1.4 && < 0.7,
|
||||||
ghc-prim >= 0.5.0 && < 0.7
|
ghc-prim >= 0.5.0 && < 0.7
|
||||||
|
|||||||
@@ -1,18 +1,21 @@
|
|||||||
name: pgf2
|
name: pgf2
|
||||||
version: 1.3.0
|
version: 1.3.0
|
||||||
|
|
||||||
|
cabal-version: 1.22
|
||||||
|
build-type: Simple
|
||||||
|
license: LGPL-3
|
||||||
|
license-file: LICENSE
|
||||||
|
category: Natural Language Processing
|
||||||
synopsis: Bindings to the C version of the PGF runtime
|
synopsis: Bindings to the C version of the PGF runtime
|
||||||
description:
|
description:
|
||||||
GF, Grammatical Framework, is a programming language for multilingual grammar applications.
|
GF, Grammatical Framework, is a programming language for multilingual grammar applications.
|
||||||
GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C.
|
GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C.
|
||||||
This package provides Haskell bindings to that runtime.
|
This package provides Haskell bindings to that runtime.
|
||||||
homepage: https://www.grammaticalframework.org
|
homepage: https://www.grammaticalframework.org/
|
||||||
license: LGPL-3
|
bug-reports: https://github.com/GrammaticalFramework/gf-core/issues
|
||||||
license-file: LICENSE
|
|
||||||
author: Krasimir Angelov
|
author: Krasimir Angelov
|
||||||
category: Natural Language Processing
|
|
||||||
build-type: Simple
|
|
||||||
extra-source-files: CHANGELOG.md, README.md
|
extra-source-files: CHANGELOG.md, README.md
|
||||||
cabal-version: >=1.10
|
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.10.4
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
|
|||||||
3
src/runtime/haskell-bind/stack-ghc7.10.3.yaml
Normal file
3
src/runtime/haskell-bind/stack-ghc7.10.3.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
resolver: lts-6.35 # ghc 7.10.3
|
||||||
|
|
||||||
|
allow-newer: true
|
||||||
1
src/runtime/haskell-bind/stack-ghc8.0.2.yaml
Normal file
1
src/runtime/haskell-bind/stack-ghc8.0.2.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
resolver: lts-9.21 # ghc 8.0.2
|
||||||
1
src/runtime/haskell-bind/stack-ghc8.10.4.yaml
Normal file
1
src/runtime/haskell-bind/stack-ghc8.10.4.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
resolver: lts-18.0 # ghc 8.10.4
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
name: pgf
|
name: pgf
|
||||||
version: 3.10.1-git
|
version: 3.11.0-git
|
||||||
|
|
||||||
cabal-version: >= 1.20
|
cabal-version: 1.22
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
license: OtherLicense
|
license: OtherLicense
|
||||||
category: Natural Language Processing
|
category: Natural Language Processing
|
||||||
synopsis: Grammatical Framework
|
synopsis: Grammatical Framework
|
||||||
description: A library for interpreting the Portable Grammar Format (PGF)
|
description: A library for interpreting the Portable Grammar Format (PGF)
|
||||||
homepage: http://www.grammaticalframework.org/
|
homepage: https://www.grammaticalframework.org/
|
||||||
bug-reports: https://github.com/GrammaticalFramework/gf-core/issues
|
bug-reports: https://github.com/GrammaticalFramework/gf-core/issues
|
||||||
tested-with: GHC==7.6.3, GHC==7.8.3, GHC==7.10.3, GHC==8.0.2, GHC==8.4.4
|
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.10.4
|
||||||
|
|
||||||
library
|
library
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
@@ -22,8 +22,9 @@ library
|
|||||||
random >= 1.1 && < 1.3,
|
random >= 1.1 && < 1.3,
|
||||||
pretty >= 1.1.3 && < 1.2,
|
pretty >= 1.1.3 && < 1.2,
|
||||||
mtl >= 2.2.1 && < 2.3,
|
mtl >= 2.2.1 && < 2.3,
|
||||||
ghc-prim >= 0.5.0 && < 0.7
|
ghc-prim >= 0.5.0 && < 0.7,
|
||||||
-- exceptions,
|
-- For compatability with GHC < 8
|
||||||
|
fail >= 4.9.0 && < 4.10
|
||||||
|
|
||||||
other-modules:
|
other-modules:
|
||||||
-- not really part of GF but I have changed the original binary library
|
-- not really part of GF but I have changed the original binary library
|
||||||
|
|||||||
3
src/runtime/haskell/stack-ghc7.10.3.yaml
Normal file
3
src/runtime/haskell/stack-ghc7.10.3.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
resolver: lts-6.35 # ghc 7.10.3
|
||||||
|
|
||||||
|
allow-newer: true
|
||||||
1
src/runtime/haskell/stack-ghc8.0.2.yaml
Normal file
1
src/runtime/haskell/stack-ghc8.0.2.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
resolver: lts-9.21 # ghc 8.0.2
|
||||||
1
src/runtime/haskell/stack-ghc8.10.4.yaml
Normal file
1
src/runtime/haskell/stack-ghc8.10.4.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
resolver: lts-18.0 # ghc 8.10.4
|
||||||
Reference in New Issue
Block a user