diff options
| author | krangelov <kr.angelov@gmail.com> | 2020-08-14 20:56:20 +0200 |
|---|---|---|
| committer | krangelov <kr.angelov@gmail.com> | 2020-08-14 20:56:20 +0200 |
| commit | 24beed9a953432565d9577620b7c0f51bb2824c3 (patch) | |
| tree | 5e1f6b869a1aa30de5bd0e59a9d84a0842517a49 /src/runtime/haskell-bind/README | |
| parent | 23edeec5a95bb7378d8f075e5bee5e67235adadd (diff) | |
| parent | 542a41fb32c7b70066816854921354bbafb63539 (diff) | |
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
Diffstat (limited to 'src/runtime/haskell-bind/README')
| -rw-r--r-- | src/runtime/haskell-bind/README | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/runtime/haskell-bind/README b/src/runtime/haskell-bind/README deleted file mode 100644 index 4782c2d37..000000000 --- a/src/runtime/haskell-bind/README +++ /dev/null @@ -1,26 +0,0 @@ -This is a binding to the new GF runtime in C. - -The files are: - -PGF2.hsc -- a user API similar to Python and Java APIs -PGF2/FFI.hs -- an internal module with FFI definitions for - -- the relevant C functions - -HOW TO COMPILE: - -cabal install - -HOW TO USE: - -- Import PGF to the Haskell program that you're writing. - The Cabal infrastructure will make sure to tell the compiler - where to find the relevant modules. Example: - - module Main where - - import PGF2 - import qualified Data.Map as Map - - main = do - pgf <- readPGF "Foo.pgf" - let Just english = Map.lookup "FooEng" (languages pgf) |
