summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/pgf2.cabal
blob: d7a98489e9cd2dd741e6278e05232b0ec7f91ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: pgf2
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
description:
  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.
  This package provides Haskell bindings to that runtime.
homepage: https://www.grammaticalframework.org/
bug-reports: https://github.com/GrammaticalFramework/gf-core/issues
author: Krasimir Angelov
extra-source-files: CHANGELOG.md, README.md
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.10.4, GHC=9.6.6

library
  exposed-modules:
    PGF2,
    PGF2.Internal
  other-modules:
    PGF2.FFI,
    PGF2.Expr,
    PGF2.Type
  build-depends:
    base >= 4.9.1 && < 4.22,
    containers >= 0.5.7 && < 0.7,
    pretty >= 1.1.3 && < 1.2
  default-language: Haskell2010
  build-tools: hsc2hs
  extra-libraries: pgf gu
  cc-options: -std=c99
  c-sources: utils.c

-- executable pgf-shell
--   main-is: pgf-shell.hs
--   hs-source-dirs: examples
--   build-depends:
--     base,
--     containers,
--     lifted-base,
--     mtl,
--     pgf2
--   default-language: Haskell2010
--   if impl(ghc>=7.0)
--     ghc-options: -rtsopts