summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/examples
AgeCommit message (Collapse)Author
2017-09-04eliminate modules PGF.Lexing, PGF.LexingAGreek. Make PGF.Utilities an ↵Krasimir Angelov
internal module in the runtime. These are not really part of the core runtime.
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
2015-04-21some translate.probs decreased ; fine-tuning in pgf-hsbind-transaarne
2015-04-17pgf-hsbind-trans now with linearizeAllaarne
2015-04-17pgf-shell.hs: remove call to performGC and document the 'i' commandhallgren
2015-04-16simplified the example translator and renamed it to pgf-hsbind-trans aarne
2015-04-15extended pgf-shell functionalities: batch translation with many trees, and ↵aarne
intervening context-dependent tree manipulation
2014-05-07pgf-shell.hs: fix compilation problem with GHC 7.4hallgren
2014-05-07Two improvements in the pgf-shell examplehallgren
1. Like pgf-translate, it now shows one result at a time, press Enter to get more results. 2. You can load a new grammar with the command 'i <path-to-pgf>'
2014-04-04fix the haskell binding to handle parse errorskr.angelov
2014-02-10Restore compatibility with GHC 7.0hallgren
2014-02-10haskell-bind: fix broken pgf-shellhallgren
The type CId was replaced with String, so can't use show and read anymore.
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.
2014-02-07pgf-shell: show the names of the concrete syntaxes after loading the grammarhallgren
2014-02-07pgf-shell: enable -rtsopts, call performGC between commandshallgren
This is to make it easier to find the cause of space leaks.
2014-01-17haskell-bind: add a cabal file and examples/pgf-shell.hshallgren
* The haskell-bind.cabal file makes it easy to build the haskell binding and use it in ghci. * pgf-shell.hs is a simple example of how to use the haskell binding.