summaryrefslogtreecommitdiff
path: root/src/runtime/java
AgeCommit message (Collapse)Author
2017-10-04further extend the API of the C runtimeKrasimir Angelov
2017-09-28the parser for abstract expressions in the C runtime now supports partial parsesKrasimir Angelov
2017-09-25fix typo in jni_utils.cKrasimir Angelov
2017-09-25fix the compilation of jsg.c after the last patchKrasimir Angelov
2017-09-25handle BIND & CAPIT in bracketedLinearize for JavaKrasimir Angelov
2017-09-18added Expr.size() in the Java bindingKrasimir Angelov
2017-09-08fix the type signatures for the linearizer callbacksKrasimir Angelov
2017-09-06word completion in the C parser now returns information about the function ↵Krasimir Angelov
which generates the token
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.
2017-08-31the C runtime now supports the same customizations for GraphViz as the ↵Krasimir Angelov
Haskell runtime
2017-08-30added graphvizAbstractTree and graphvizParseTree in JavaKrasimir Angelov
2017-08-30added checkExpr in JavaKrasimir Angelov
2017-08-30added readType in JavaKrasimir Angelov
2017-08-30added fullFormLexicon in JavaKrasimir Angelov
2017-08-29implemented visitor pattern in JavaKrasimir Angelov
2017-08-29added signatures for missing API functions in Java. The implementation is ↵Krasimir Angelov
still missing
2017-08-29rename unApply to unApp in the Java binding to be consistent with Haskell & ↵Krasimir Angelov
Python
2017-08-11src/runtime/java/Makefile: fixes to find jni.h and jni_md.h in more casesThomas Hallgren
2017-08-07the linearizer API now allows to detect metavariables. This is used for ↵Krasimir Angelov
instancein the lookup where the tokens produced from the metavariables are interpreted as distinct from all other tokens.
2017-08-07added org.grammaticalframework.pgf.Expr.unStrKrasimir Angelov
2017-07-07added the Expr.unMeta method in the Java bindingKrasimir Angelov
2017-06-10bugfixes in the Java bindingkrasimir
2017-05-15bugfix in the Java bindingkrasimir
2017-05-12sentence lookup API from Javakrasimir
2017-05-11just for fun: hashCode for expressionskrasimir
2017-05-11an API for inspecting expressions in Javakrasimir
2017-05-11bugfix for print names in the C runtime and expose the functionality from Javakrasimir
2017-05-11construction of Int and Float literals in the Java bindingkrasimir
2017-05-10added Expr.applykrasimir
2017-05-10bugfix in the Java bindingkrasimir
2017-05-10a simple optimization for getCategories, getFunctions, getFunctionsByCat in ↵krasimir
the Java binding
2017-05-10finished Type.getHypos & added Hypo.getTypekrasimir
2017-05-10a partial implementation for Type.getHypos. at least it lets us to count the ↵krasimir
number of arguments to a function
2017-04-19in the Java binding mark all internal functions as hiddenkrasimir
2017-04-13use gu_string_buf_data in the Java binding to avoid double copying of stringskrasimir
2017-01-26bring the Haskell binding a bit closer to the pure Haskell APIkrasimir
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-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-05-30added getFunctionProb in the Java and C APIkrasimir
2016-05-25the Java API now also has access to the token's category while doing completionkrasimir
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-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.
2016-04-14added PGF.inferExpr and Type.toString in the Java bindingkrasimir
2016-04-13added PGF.compute in the Java bindingkrasimir
2016-04-13added getFunctionsByCatkrasimir
2016-04-13added getCategories() and getFunctions() in the Java bindingkrasimir
2016-02-17Now we even test in two different places for the JNI headers. Once for Linux ↵krasimir
and once for Mac OS. This is still not ideal since different Linux distributions might use different locations.