summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
2017-01-26forgot to add src/runtime/haskell-bind/PGF2/Type.hsckrasimir
2017-01-26bring the Haskell binding a bit closer to the pure Haskell APIkrasimir
2017-01-26copy the types for BracketedString from the Haskell runtime to the Haskell ↵krasimir
bindings
2017-01-26added mkMeta and unMeta in the Haskell bindingkrasimir
2017-01-26added mkAbs and unAbs in the Haskell bindingkrasimir
2017-01-26more startCat to the Types section in the Haddock documentation for the ↵krasimir
Haskell binding
2017-01-26add unStr,unInt and unFloat in the Haskell bindingkrasimir
2017-01-25improve the documentation for PGF2krasimir
2017-01-25add functionsByCat in the Haskell bindingkrasimir
2017-01-25bugfix in the Haskell bindingkrasimir
2017-01-24added linearizeAll in the Java APIkrasimir
2017-01-24resolve a conflict that was for some reason commited in ↵krasimir
src/runtime/java/Makefile
2016-09-19python examples compatible with both Python 2 and 3prasanth.kolachina
2016-09-05BNF grammars (.bnf or .cf) can have rules without semicolons, as in the GF ↵aarne
book examples. However, if the grammar has any multiline rules, all of them must have semicolons.
2016-08-01python2 is now supported. the patch is based on a contribution from Vinit ↵krasimir
Ravishankar
2016-08-01two memory leaks in the Python bindingskrasimir
2016-06-16pgf_generate_all now emits __mock_string__ instead of FOO for String literals.krasimir
2016-06-16bugfix in the load method in the Python binding. The file was never closed.krasimir
2016-06-15added a default value in dependency visualization for cases using maximum, ↵aarne
to cover the case where the list of arcs is empty
2016-06-09PGF service & minibar: only show dependency diagrams if the labels are knownhallgren
+ The PGF service now reads and caches dependency label configuration files. + The grammar info returned by command=grammar has a new boolean field 'hasDependencyLabels' to indicate if dependency labels were found for the grammar. Also, command=deptree will now fail if no labels are present. + The minibar only shows word dependency trees if labels are present. + Also changed the type of getDepLabels from [String] -> Labels to String -> Labels, since all uses were in the form "getDepLabels . lines".
2016-06-09now a working API for complex queries in libsgkrasimir
2016-06-09bugfix in libsgkrasimir
2016-06-08PGF.VisualizeTree: add white background in the SVG rendering of dependency treeshallgren
This makes them look the same as SVG produced by graphviz
2016-06-08PGF.VisualizeTree: add SVG renderering of word dependency treeshallgren
This was done by introducing an intermediate representation for the LaTeX pictures produced by the LaTeX renderer and providing a new backend that outputs SVG instead of LaTeX.
2016-06-03vd latex: some adjustments in heights and lengthsaarne
2016-06-02vd: arc heights now depend on number of arcs below rather than word distanceaarne
2016-05-30fix in the Haskell binding: functionType should throw error if the function ↵krasimir
is not defined
2016-05-30added getFunctionProb in the Java and C APIkrasimir
2016-05-26Add haddock documentation to PGF.graphvizDependencyTree and PGF.getDepLabelshallgren
They seemed very difficult to use without the documentation, since their types are not particularly self documenting. Also documented what the (Bool,Bool) argument to PGF.graphvizAbstractTree is for.
2016-05-26Fix documentation typo on PGF.Haskellhallgren
2016-05-25the Java API now also has access to the token's category while doing completionkrasimir
2016-05-25fix the word completion in the C runtimekrasimir
2016-05-25fix the compilation when debugging is switched offkrasimir
2016-05-25pgf_generate_all now works with literals as wellkrasimir
2016-05-25when expressions with Float literals are printed, we should use the same ↵krasimir
format that is used by the linearizer
2016-05-25fix a warning in libsgkrasimir
2016-05-23made the word length proportionate in dependency visualization, instead of ↵aarne
using the max length for every word
2016-05-22bugfix in libsgkrasimir
2016-05-20change the API for literals in Java and Python. The input sentence is no ↵krasimir
longer a parameter to the callbacks.
2016-05-19in case of null argument it is more intuitive to report the argument index ↵krasimir
by counting from 1.
2016-05-19the constructor for expressions in the Java runtime now checks for null ↵krasimir
arguments. This means that a potential problem is detected earlier before we jump into the JNI code.
2016-05-18fix the compilation of sqlite3 on MacOSkrasimir
2016-05-11the 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-11many 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-10fix the offset for oracles in Haskellkrasimir
2016-05-10an API for oracles in the GF parserkrasimir
2016-04-29a prototype for complex queries over expressions in libsgkrasimir
2016-04-29added methods for accessing the last element of a buffer in libgukrasimir
2016-04-28a version of sqlite3.c which is prunned to one third of the original size ↵krasimir
and now it contains only the database storage engine withough the SQL compiler and interpreter
2016-04-25Fix a problem building the Java binding when creating binary packageshallgren
Pass -I and -L flags to gcc so that the C run-time system can be found. Also added a line in src/runtime/java/Makefile to install jpgf.jar.