summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/haskell-bind.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-01-17 14:02:35 +0000
committerhallgren <hallgren@chalmers.se>2014-01-17 14:02:35 +0000
commit045eeeb2804240f34a490af0ceef351908ade7bc (patch)
tree64ac65a15dc790559d30bf3c2e26e404bb978b2e /src/runtime/haskell-bind/haskell-bind.cabal
parentb0a40d82b93999516a004f458080b1bb80ba1e61 (diff)
haskell-bind: add a cabal file and examples/pgf-shell.hs
* The haskell-bind.cabal file makes it easy to build the haskell binding and use it in ghci. * pgf-shell.hs is a simple example of how to use the haskell binding.
Diffstat (limited to 'src/runtime/haskell-bind/haskell-bind.cabal')
-rw-r--r--src/runtime/haskell-bind/haskell-bind.cabal32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/runtime/haskell-bind/haskell-bind.cabal b/src/runtime/haskell-bind/haskell-bind.cabal
new file mode 100644
index 000000000..ea4f41cf6
--- /dev/null
+++ b/src/runtime/haskell-bind/haskell-bind.cabal
@@ -0,0 +1,32 @@
+-- Initial haskell-bind.cabal generated by cabal init. For further
+-- documentation, see http://haskell.org/cabal/users-guide/
+
+name: haskell-bind
+version: 0.1.0.0
+-- synopsis:
+-- description:
+homepage: http://www.grammaticalframework.org
+license: LGPL-3
+license-file: LICENSE
+author: Inari
+-- maintainer:
+-- copyright:
+category: Language
+build-type: Simple
+extra-source-files: README
+cabal-version: >=1.10
+
+library
+ exposed-modules: CId, CRuntimeFFI
+ other-modules: Gu, PgfLow
+ build-depends: base >=4.6 && <4.7, bytestring >=0.10 && <0.11, pretty >=1.1 && <1.2
+ -- hs-source-dirs:
+ build-tools: hsc2hs
+ extra-libraries: gu pgf
+ default-language: Haskell2010
+
+executable pgf-shell
+ main-is: pgf-shell.hs
+ hs-source-dirs: examples
+ build-depends: base, haskell-bind
+ default-language: Haskell2010