| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-03-19 | haskell-bind: add bindings to graphviz rendering functions for ↵ | hallgren | |
| abstract&parse trees | |||
| 2015-02-18 | fix the missmatch between Int and CInt in the Haskell binding to the word ↵ | krasimir | |
| alignment API. This was causing problems on 64-bit machines | |||
| 2015-02-18 | fix the callback for unknown words as well | krasimir | |
| 2015-02-18 | fix in the callback for names in the Haskell binding | krasimir | |
| 2015-01-30 | added hasLinearization in the Haskell binding | kr.angelov | |
| 2015-01-21 | PGF2: fixes for named entity callback function | hallgren | |
| 2015-01-21 | PGF2 & PGFService: enable callbacks for named entities and chunks in the ↵ | hallgren | |
| c-parse & c-translate web requests | |||
| 2015-01-21 | fix conflicts | kr.angelov | |
| 2015-01-20 | added functionType in the Haskell API to the C runtime | kr.angelov | |
| 2015-01-20 | PGF2 & PGFService: work in progress on callbacks for nerc & chunks | hallgren | |
| 2015-01-20 | PGF2: introduced some type synonyms to make type signature more readable | hallgren | |
| 2014-12-29 | API for word alignment in the C runtime and in the Haskell binding | kr.angelov | |
| 2014-12-19 | bugfix and tiny optimization for callbacks from Haskell | kr.angelov | |
| 2014-12-19 | haddock comments for parseWithHeuristics | kr.angelov | |
| 2014-12-19 | added mkStr to the Haskell binding | kr.angelov | |
| 2014-12-19 | added mkApp to the Haskell binding | kr.angelov | |
| 2014-12-16 | fix in the Haskell binding | kr.angelov | |
| 2014-12-16 | forgot to export parseWithHeuristics from Haskell | kr.angelov | |
| 2014-12-16 | change in the API for literals | kr.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-10-09 | throw away the long obsolete runtime type information in the C runtime | kr.angelov | |
| 2014-09-22 | haskell-bind/PGF2.hsc: unexport functions that break referential transparency | hallgren | |
| loadConcr, unloadConcr and addLiteral modify the Concr structure as a side effect. This means that other functions with a Concr argument (e.g. parse and linearize) are no longer pure. Possible solutions: 1. Don't try to hide the imperative nature of the C run-time system: remove all uses of unsafePerformIO and let all functions operate in the IO monad. 2. Don't export functions with side effects. Perhaps the desired functionality of loadConcr, unloadConcr and addLiteral can be folded into readPGF. The Concr structures can then treaded as immutable after after the readPGF function returns... | |||
| 2014-09-10 | now release the FunPtr:s that are allocated for each literal callback | kr.angelov | |
| 2014-09-10 | added an API for custom literals in the Haskell binding | kr.angelov | |
| 2014-09-10 | added loadConcr/unloadConcr to the Haskell binding. This exposes an API for ↵ | kr.angelov | |
| loading grammars compiled with -split-pgf | |||
| 2014-06-16 | fixed memory leak in the Haskell binding to the C runtime | kr.angelov | |
| 2014-06-12 | PGF library: expose only PGF and PGF.Internal instead of all modules | hallgren | |
| PGF exports the public, stable API. PGF.Internal exports additional things needed in the GF compiler & shell, including the nonstardard version of Data.Binary. | |||
| 2014-06-10 | PGF2.hsc: use throwIO instead of throw | hallgren | |
| From the documentation: the throwIO variant should be used in preference to throw to raise an exception within the IO monad because it guarantees ordering with respect to other IO operations, whereas throw does not. Also removed some unused imports. | |||
| 2014-05-13 | Haskell binding: free memory pool to avoid space leak when readPGF fails | hallgren | |
| 2014-05-08 | fix memory leak in the Haskell binding | kr.angelov | |
| 2014-05-07 | pgf-shell.hs: fix compilation problem with GHC 7.4 | hallgren | |
| 2014-05-07 | Two improvements in the pgf-shell example | hallgren | |
| 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-04 | fix the haskell binding to handle parse errors | kr.angelov | |
| 2014-03-12 | haskell-bind: comment out superfluous imports | hallgren | |
| 2014-02-10 | Restore compatibility with GHC 7.0 | hallgren | |
| 2014-02-10 | proper error checking in the C runtime | kr.angelov | |
| 2014-02-10 | haskell-bind: fix broken pgf-shell | hallgren | |
| The type CId was replaced with String, so can't use show and read anymore. | |||
| 2014-02-10 | bugfix in pgf2-bind.cabal | kr.angelov | |
| 2014-02-09 | updated haskell-bind/README | kr.angelov | |
| 2014-02-09 | cleanup 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-07 | pgf-shell: show the names of the concrete syntaxes after loading the grammar | hallgren | |
| 2014-02-07 | haskell-bind: add function languages | inari | |
| 2014-02-07 | pgf-shell: enable -rtsopts, call performGC between commands | hallgren | |
| This is to make it easier to find the cause of space leaks. | |||
| 2014-02-06 | fixed some memory leaks | inari | |
| 2014-01-29 | changes to pools in haskell bindings | inari | |
| 2014-01-20 | Optionally include C run-time support | hallgren | |
| 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-20 | haskell-bind: add an export list to hide internal stuff | hallgren | |
| It also makes the generated haddock documentaiton more structured. | |||
| 2014-01-17 | haskell-bind.cabal: relax overly restrictive version bounds and add cc-options | hallgren | |
| 2014-01-17 | haskell-bind: add a cabal file and examples/pgf-shell.hs | hallgren | |
| * 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 | haskell-bind: change the type of CRuntimeFFI.getConcr | hallgren | |
| 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-10 | move src/runtime/haskell/CRuntimeFFI to src/runtime/haskell-bind. Don't mess ↵ | kr.angelov | |
| up with the stable Haskell runtime! | |||
