summaryrefslogtreecommitdiff
path: root/src/runtime/java
AgeCommit message (Collapse)Author
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.
2016-02-17typo in the new Makefilekrasimir
2016-02-17a version of the Makefile for the Java binding which should work on Linux ↵krasimir
and Mac OS
2016-01-14javadoc comments in the Java bindingkrasimir
2015-11-27fix in the Java binding: the Expr class should also ensure that libjpgf.so ↵krasimir
is loaded to avoid failures if Expr is the first class that is used.
2015-11-26added Expr.equals method in the Java bindingkrasimir
2015-11-16bugfix in the Makefile for the Java binding for creating .jar fileskrasimir
2015-11-13bugfix in the SG binding for Javakrasimir
2015-11-13added Java API for insertion of triples in the semantic graphkrasimir
2015-09-04API for triple queries from Javakrasimir
2015-09-03Java API for opening/closing SG databaseskrasimir
2015-09-03the Eclipse project for the Java binding is now replaced with a simple Makefilekrasimir
2015-09-03silence compilation warnings in the Java bindingkrasimir
2015-07-03merge the states for reasoning and evaluation into a single structurekrasimir
2015-05-19the 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-05-18the callbacks in C now take the concrete syntax as a parameterkrasimir
2015-04-16bugfix in the java bindingkrasimir
2014-12-16change in the API for literalskr.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.