| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-01-26 | use throwIO instead of throw in a few placed | krasimir | |
| 2017-01-26 | type checking API in the Haskell binding | krasimir | |
| 2017-01-26 | a better implementation for PGF2.categories | krasimir | |
| 2017-01-26 | bring the Haskell binding a bit closer to the pure Haskell API | krasimir | |
| 2017-01-26 | copy the types for BracketedString from the Haskell runtime to the Haskell ↵ | krasimir | |
| bindings | |||
| 2017-01-26 | added mkMeta and unMeta in the Haskell binding | krasimir | |
| 2017-01-26 | added mkAbs and unAbs in the Haskell binding | krasimir | |
| 2017-01-26 | more startCat to the Types section in the Haddock documentation for the ↵ | krasimir | |
| Haskell binding | |||
| 2017-01-26 | add unStr,unInt and unFloat in the Haskell binding | krasimir | |
| 2017-01-25 | improve the documentation for PGF2 | krasimir | |
| 2017-01-25 | add functionsByCat in the Haskell binding | krasimir | |
| 2017-01-25 | bugfix in the Haskell binding | krasimir | |
| 2016-05-30 | fix in the Haskell binding: functionType should throw error if the function ↵ | krasimir | |
| is not defined | |||
| 2016-05-11 | the 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 | |||
| 2016-05-11 | many of the uses of peekCString and withCString in the Haskell binding were ↵ | krasimir | |
| incorrect since they encode the string in the system locale while the C runtime is always using UTF8 | |||
| 2016-05-10 | fix the offset for oracles in Haskell | krasimir | |
| 2016-05-10 | an API for oracles in the GF parser | krasimir | |
| 2015-12-20 | added a primitive full-text search index in libsg. This can be use for ↵ | krasimir | |
| finding an abstract tree whose linearization matches given keywords | |||
| 2015-11-19 | added mkInt and mkFloat in the Haskell binding to make it easy to create ↵ | krasimir | |
| literal expressions | |||
| 2015-09-02 | added the minimal Haskell API for storing expressions/triples in the ↵ | krasimir | |
| semantic graph | |||
| 2015-08-20 | PGF2: export BindType(..) and two new functions: showType & categories | hallgren | |
| showType :: Type -> String categories :: PGF -> [Cat] But both are implemented as quick hacks: categories is implemented by listing all functions and taking the target categories from their types. showType uses ppType copied & modified from PGF.Type, and needs a ppExpr, which is currently implemented by wrapping showExpr... TODO: need something correpsonding to PGF.categoryContext. | |||
| 2015-08-10 | gf -cshell: preliminary support for the C run-time system in the GF shell | hallgren | |
| Some C run-time functionality is now available in the GF shell, by starting GF with 'gf -cshell' or 'gf -crun'. Only limited functionality is available when running the shell in these modes: - You can only import .pgf files, not source files. - The -retain flag can not be used and the commands that require it to work are not available. - Only 18 of the 40 commands available in the usual shell have been implemented. The 'linearize' and 'parse' commands are the only ones that call the C run-time system, and they support only a limited set of options and flags. Use the 'help' commmands for details. - A new command 'generate_all', that calls PGF2.generateAll, has been added. Unfortuntaly, using it causes 'segmentation fault'. This is implemented by adding two new modules: GF.Command.Commands2 and GF.Interactive2. They are copied and modified versions of GF.Command.Commands and GF.Interactive, respectively. Code for unimplemented commands and other code that has not been adapted to the C run-time system has been left in place, but commented out, pending further work. | |||
| 2015-07-12 | fixed missing do in the Haskell binding | krasimir | |
| 2015-07-03 | merge the states for reasoning and evaluation into a single structure | krasimir | |
| 2015-06-30 | add function 'functions' in the Haskell binding to the C runtime | krasimir | |
| 2015-05-19 | the NERC in C is now fully up-to-date with the other NERCs. In addition the ↵ | krasimir | |
| NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German | |||
| 2015-04-27 | use a temporary pool for linearizeAll in Haskell too | krasimir | |
| 2015-04-27 | make linearizeAll in the Haskell binding lazy | krasimir | |
| 2015-04-17 | added linearizeAll in the Haskell bindings | krasimir | |
| 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... | |||
