kr.angelov
d84d3b5763
added an API for custom literals in the Haskell binding
2014-09-10 14:56:18 +00:00
kr.angelov
fb18482aeb
added loadConcr/unloadConcr to the Haskell binding. This exposes an API for loading grammars compiled with -split-pgf
2014-09-10 14:35:54 +00:00
kr.angelov
21e855c91d
fixed memory leak in the Haskell binding to the C runtime
2014-06-16 08:49:13 +00:00
hallgren
f739841497
PGF library: expose only PGF and PGF.Internal instead of all modules
...
PGF exports the public, stable API.
PGF.Internal exports additional things needed in the GF compiler & shell,
including the nonstardard version of Data.Binary.
2014-06-12 14:43:18 +00:00
hallgren
bc0249b501
PGF2.hsc: use throwIO instead of throw
...
From the documentation: the throwIO variant should be used in preference to
throw to raise an exception within the IO monad because it guarantees ordering
with respect to other IO operations, whereas throw does not.
Also removed some unused imports.
2014-06-10 12:42:01 +00:00
hallgren
33af15e803
Haskell binding: free memory pool to avoid space leak when readPGF fails
2014-05-13 14:07:36 +00:00
kr.angelov
c2ae35cfb2
fix memory leak in the Haskell binding
2014-05-08 08:41:58 +00:00
kr.angelov
268e7a697f
fix the haskell binding to handle parse errors
2014-04-04 11:46:40 +00:00
hallgren
6abd0c8eef
haskell-bind: comment out superfluous imports
2014-03-12 13:21:47 +00:00
kr.angelov
2451ed123d
proper error checking in the C runtime
2014-02-10 14:07:17 +00:00
kr.angelov
e527a526d8
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.
2014-02-09 20:45:11 +00:00