summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/utils.c
AgeCommit message (Collapse)Author
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-10fix the offset for oracles in Haskellkrasimir
2016-05-10an API for oracles in the GF parserkrasimir
2015-05-18the callbacks in C now take the concrete syntax as a parameterkrasimir
2014-12-19bugfix and tiny optimization for callbacks from Haskellkr.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-09-10now release the FunPtr:s that are allocated for each literal callbackkr.angelov