mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 01:02:51 -06:00
cleanup the code for the FFI binding. The API is now more uniform with the Python and the Java bindings. Fixed a lot of memory leaks.
This commit is contained in:
36
src/runtime/haskell-bind/pgf2-bind.cabal
Normal file
36
src/runtime/haskell-bind/pgf2-bind.cabal
Normal file
@@ -0,0 +1,36 @@
|
||||
-- Initial haskell-bind.cabal generated by cabal init. For further
|
||||
-- documentation, see http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: pgf2-bind
|
||||
version: 0.1.0.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
homepage: http://www.grammaticalframework.org
|
||||
license: LGPL-3
|
||||
--license-file: LICENSE
|
||||
author: Inari
|
||||
maintainer: Krasimir Angelov
|
||||
-- copyright:
|
||||
category: Language
|
||||
build-type: Simple
|
||||
extra-source-files: README
|
||||
cabal-version: >=1.10
|
||||
|
||||
library
|
||||
exposed-modules: PGF2
|
||||
other-modules: PGF2.FFI
|
||||
build-depends: base >=4.5 && <4.7, bytestring >=0.9 && <0.11,
|
||||
containers
|
||||
-- hs-source-dirs:
|
||||
build-tools: hsc2hs
|
||||
extra-libraries: gu pgf
|
||||
cc-options: -std=c99
|
||||
default-language: Haskell2010
|
||||
|
||||
executable pgf-shell
|
||||
main-is: pgf-shell.hs
|
||||
hs-source-dirs: examples
|
||||
build-depends: base, haskell-bind, containers
|
||||
default-language: Haskell2010
|
||||
if impl(ghc>=7.0)
|
||||
ghc-options: -rtsopts
|
||||
Reference in New Issue
Block a user