summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind
AgeCommit message (Collapse)Author
2014-02-10Restore compatibility with GHC 7.0hallgren
2014-02-10proper error checking in the C runtimekr.angelov
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-10bugfix in pgf2-bind.cabalkr.angelov
2014-02-09updated haskell-bind/READMEkr.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.
2014-02-07pgf-shell: show the names of the concrete syntaxes after loading the grammarhallgren
2014-02-07haskell-bind: add function languagesinari
2014-02-07pgf-shell: enable -rtsopts, call performGC between commandshallgren
This is to make it easier to find the cause of space leaks.
2014-02-06fixed some memory leaksinari
2014-01-29changes to pools in haskell bindingsinari
2014-01-20Optionally include C run-time supporthallgren
If the C run-time library is compiled and installed on your system, you can now do 'cabal configure -fc-runtime' to get the following extras: + The haskell binding to the C run-time library will be included in the PGF library (so you can import it in Haskell applications). Documentation on the new modules will be included when you run 'cabal haddock'. + The new command 'pgf-shell', implemented on top of haskell binding to the C run-time system. + Three new commands in the web API: c-parse, c-linearize and c-translate. Their interfaces are similar to the corresponding commands without the "c-" prefix, but they should be considered preliminary.
2014-01-20haskell-bind: add an export list to hide internal stuffhallgren
It also makes the generated haddock documentaiton more structured.
2014-01-17haskell-bind.cabal: relax overly restrictive version bounds and add cc-optionshallgren
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.
2014-01-17haskell-bind: change the type of CRuntimeFFI.getConcrhallgren
Change the type of getConcr from getConcr :: PGF -> Language -> Concr to getConcr :: PGF -> Language -> Maybe Concr This is to prevent programs from crashing later if you try to select a concrete syntax that is not present in a grammar.
2013-12-10move src/runtime/haskell/CRuntimeFFI to src/runtime/haskell-bind. Don't mess ↵kr.angelov
up with the stable Haskell runtime!