summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/examples/pgf-shell.hs
AgeCommit message (Collapse)Author
2017-09-06the parser in the C runtime can now detect incomplete sentences just like ↵Krasimir Angelov
the parser in the Haskell runtime. This is also reflected in all bindings.
2015-04-17pgf-shell.hs: remove call to performGC and document the 'i' commandhallgren
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.