aarne
f0f1748360
some translate.probs decreased ; fine-tuning in pgf-hsbind-trans
2015-04-21 14:13:13 +00:00
aarne
168e6a04d8
pgf-hsbind-trans now with linearizeAll
2015-04-17 14:33:28 +00:00
hallgren
54b69e25ea
pgf-shell.hs: remove call to performGC and document the 'i' command
2015-04-17 13:34:41 +00:00
aarne
3ddbc44789
simplified the example translator and renamed it to pgf-hsbind-trans
2015-04-16 13:51:18 +00:00
aarne
23992d412d
extended pgf-shell functionalities: batch translation with many trees, and intervening context-dependent tree manipulation
2015-04-15 15:53:44 +00:00
hallgren
b3d92a1378
pgf-shell.hs: fix compilation problem with GHC 7.4
2014-05-07 17:06:34 +00:00
hallgren
7c88b7935f
Two improvements in the pgf-shell example
...
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-05-07 16:37:28 +00:00
kr.angelov
268e7a697f
fix the haskell binding to handle parse errors
2014-04-04 11:46:40 +00:00
hallgren
be31b52e07
Restore compatibility with GHC 7.0
2014-02-10 21:44:34 +00:00
hallgren
1efb9824f8
haskell-bind: fix broken pgf-shell
...
The type CId was replaced with String, so can't use show and read anymore.
2014-02-10 12:59:31 +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
hallgren
96594e405d
pgf-shell: show the names of the concrete syntaxes after loading the grammar
2014-02-07 16:40:13 +00:00
hallgren
d1ab3072db
pgf-shell: enable -rtsopts, call performGC between commands
...
This is to make it easier to find the cause of space leaks.
2014-02-07 13:57:13 +00:00
hallgren
4226be69e8
haskell-bind: add a cabal file and examples/pgf-shell.hs
...
* 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.
2014-01-17 14:02:35 +00:00