summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2
AgeCommit message (Collapse)Author
2017-01-26added mkMeta and unMeta in the Haskell bindingkrasimir
2017-01-26added mkAbs and unAbs in the Haskell bindingkrasimir
2017-01-26add unStr,unInt and unFloat in the Haskell bindingkrasimir
2017-01-25improve the documentation for PGF2krasimir
2017-01-25add functionsByCat in the Haskell bindingkrasimir
2016-05-11the Literals API in Haskell no longer offers the sentence as an argument to ↵krasimir
the callbacks. It is just as easy to save the sentence in a closure and by doing that we save the repeated round about from C to Haskell strings
2016-05-11many of the uses of peekCString and withCString in the Haskell binding were ↵krasimir
incorrect since they encode the string in the system locale while the C runtime is always using UTF8
2016-05-10fix the offset for oracles in Haskellkrasimir
2016-05-10an API for oracles in the GF parserkrasimir
2015-12-22added API for reading a list of tuples in the SG modulekrasimir
2015-12-20added a primitive full-text search index in libsg. This can be use for ↵krasimir
finding an abstract tree whose linearization matches given keywords
2015-11-25added readTriple in libsg and its Haskell bindingkrasimir
2015-11-19added mkInt and mkFloat in the Haskell binding to make it easy to create ↵krasimir
literal expressions
2015-09-10PGF2.Expr: a fix for ghc-7.6hallgren
Apparently Foreign.unsafePerformIO is not just a re-export of System.IO.Unsafe.unsafePerformIO (or vise versa), it is a different function, so you get an ambiguity if you import both.
2015-09-08add readTriple in the Haskell bindingkrasimir
2015-09-03PGF2.Expr fixeshallgren
It needs to be listed in gf.cabal unsafePerformIO is only exported from System.IO.Unsafe, starting with ghc-7.8
2015-09-02added the minimal Haskell API for storing expressions/triples in the ↵krasimir
semantic graph
2015-07-03merge the states for reasoning and evaluation into a single structurekrasimir
2015-04-17added linearizeAll in the Haskell bindingskrasimir
2015-03-19haskell-bind: add bindings to graphviz rendering functions for ↵hallgren
abstract&parse trees
2015-01-30added hasLinearization in the Haskell bindingkr.angelov
2014-12-29API for word alignment in the C runtime and in the Haskell bindingkr.angelov
2014-12-19bugfix and tiny optimization for callbacks from Haskellkr.angelov
2014-12-19added mkStr to the Haskell bindingkr.angelov
2014-12-19added mkApp to the Haskell bindingkr.angelov
2014-12-16change in the API for literalskr.angelov
The API in the C runtime as well as in the Haskell, Python and Java binding is changed. Now instead of adding the literal callbacks to the concrete syntax you need to supply them every time when you need to parse. The main reason is: - referentially transparent API for Haskell - when we start using memory mapped files we will not be allowed to change anything in the grammar data structures. At that point the old API would be impossible to use.
2014-10-09throw away the long obsolete runtime type information in the C runtimekr.angelov
2014-09-10now release the FunPtr:s that are allocated for each literal callbackkr.angelov
2014-09-10added an API for custom literals in the Haskell bindingkr.angelov
2014-09-10added loadConcr/unloadConcr to the Haskell binding. This exposes an API for ↵kr.angelov
loading grammars compiled with -split-pgf
2014-04-04fix the haskell binding to handle parse errorskr.angelov
2014-03-12haskell-bind: comment out superfluous importshallgren
2014-02-10proper error checking in the C runtimekr.angelov
2014-02-09cleanup the code for the FFI binding. The API is now more uniform with the ↵kr.angelov
Python and the Java bindings. Fixed a lot of memory leaks.