krangelov
|
23edeec5a9
|
added an API for cloning expressions/types/literals
|
2020-08-14 20:54:15 +02:00 |
|
krangelov
|
33818076ff
|
drop the SG library completely.
|
2020-07-08 21:12:01 +02:00 |
|
krangelov
|
57a1ea5b56
|
forgot the conversion of the annotation string to jstring
|
2020-04-01 16:26:03 +02:00 |
|
krangelov
|
f22bd70585
|
The APIs for callbacks and the bracketed strings now use a string for the analysis intead of an integer. This is now consistent with lookupMorpho and friends
|
2020-03-05 11:58:21 +01:00 |
|
krangelov
|
099f2de5b4
|
support cross-compilation from Linux to Windows
|
2019-03-19 12:43:38 +01:00 |
|
krangelov
|
f3d7d55752
|
added one more possible location for Java headers
|
2019-03-19 11:21:39 +01:00 |
|
Krasimir Angelov
|
e862968305
|
added comment for Windows
|
2018-05-28 10:14:03 +02:00 |
|
Krasimir Angelov
|
4c5fc9f3a8
|
some tweaks for Windows
|
2018-05-28 10:12:27 +02:00 |
|
John J. Camilleri
|
41af91f697
|
Update info about path to jni.h in Java binding install notes
|
2018-05-21 09:14:26 +02:00 |
|
John J. Camilleri
|
ba4057b214
|
Missing -I in Java bindings Makefile
|
2018-05-21 09:10:19 +02:00 |
|
Krasimir Angelov
|
e3aa392e63
|
further extend the API of the C runtime
|
2017-10-04 09:45:56 +02:00 |
|
Krasimir Angelov
|
1c04fa4897
|
the parser for abstract expressions in the C runtime now supports partial parses
|
2017-09-28 13:57:13 +02:00 |
|
Krasimir Angelov
|
5f39d062b7
|
fix typo in jni_utils.c
|
2017-09-25 10:53:05 +02:00 |
|
Krasimir Angelov
|
9c781c7b24
|
fix the compilation of jsg.c after the last patch
|
2017-09-25 10:41:15 +02:00 |
|
Krasimir Angelov
|
66c20b1996
|
handle BIND & CAPIT in bracketedLinearize for Java
|
2017-09-25 10:36:38 +02:00 |
|
Krasimir Angelov
|
b3d96cfa93
|
added Expr.size() in the Java binding
|
2017-09-18 21:55:10 +02:00 |
|
Krasimir Angelov
|
527d97fdd2
|
fix the type signatures for the linearizer callbacks
|
2017-09-08 22:58:42 +02:00 |
|
Krasimir Angelov
|
301b100988
|
word completion in the C parser now returns information about the function which generates the token
|
2017-09-06 14:37:51 +02:00 |
|
Krasimir Angelov
|
15d014abb8
|
the parser in the C runtime can now detect incomplete sentences just like the parser in the Haskell runtime. This is also reflected in all bindings.
|
2017-09-06 12:38:42 +02:00 |
|
Krasimir Angelov
|
eaf9f0c3ac
|
the C runtime now supports the same customizations for GraphViz as the Haskell runtime
|
2017-08-31 10:58:49 +02:00 |
|
Krasimir Angelov
|
bb5b5ca73b
|
added graphvizAbstractTree and graphvizParseTree in Java
|
2017-08-30 08:33:16 +02:00 |
|
Krasimir Angelov
|
890e03527b
|
added checkExpr in Java
|
2017-08-30 08:23:58 +02:00 |
|
Krasimir Angelov
|
d92f8f2f9e
|
added readType in Java
|
2017-08-30 08:15:59 +02:00 |
|
Krasimir Angelov
|
3e9de6ffbb
|
added fullFormLexicon in Java
|
2017-08-30 08:08:19 +02:00 |
|
Krasimir Angelov
|
e9e5952eac
|
implemented visitor pattern in Java
|
2017-08-29 17:55:30 +02:00 |
|
Krasimir Angelov
|
77e9f40bde
|
added signatures for missing API functions in Java. The implementation is still missing
|
2017-08-29 15:36:27 +02:00 |
|
Krasimir Angelov
|
2f4ed21109
|
rename unApply to unApp in the Java binding to be consistent with Haskell & Python
|
2017-08-29 14:03:17 +02:00 |
|
Thomas Hallgren
|
9a39476e5a
|
src/runtime/java/Makefile: fixes to find jni.h and jni_md.h in more cases
|
2017-08-11 15:09:28 +02:00 |
|
Krasimir Angelov
|
a8eeb49767
|
the linearizer API now allows to detect metavariables. This is used for instancein the lookup where the tokens produced from the metavariables are interpreted as distinct from all other tokens.
|
2017-08-07 16:39:19 +02:00 |
|
Krasimir Angelov
|
ed33e53b2e
|
added org.grammaticalframework.pgf.Expr.unStr
|
2017-08-07 11:48:40 +02:00 |
|
Krasimir Angelov
|
a4b6c8cb1b
|
added the Expr.unMeta method in the Java binding
|
2017-07-07 11:21:34 +02:00 |
|
krasimir
|
ecbe747cbc
|
bugfixes in the Java binding
|
2017-06-10 19:31:06 +00:00 |
|
krasimir
|
151184718d
|
bugfix in the Java binding
|
2017-05-15 08:45:40 +00:00 |
|
krasimir
|
2b911792ee
|
sentence lookup API from Java
|
2017-05-12 11:12:29 +00:00 |
|
krasimir
|
ebb085326e
|
just for fun: hashCode for expressions
|
2017-05-11 13:41:41 +00:00 |
|
krasimir
|
c2c95644bd
|
an API for inspecting expressions in Java
|
2017-05-11 13:35:56 +00:00 |
|
krasimir
|
a839bdc687
|
bugfix for print names in the C runtime and expose the functionality from Java
|
2017-05-11 09:11:30 +00:00 |
|
krasimir
|
2cf98147e6
|
construction of Int and Float literals in the Java binding
|
2017-05-11 07:44:10 +00:00 |
|
krasimir
|
a77ae5da30
|
added Expr.apply
|
2017-05-10 14:41:55 +00:00 |
|
krasimir
|
83117602af
|
bugfix in the Java binding
|
2017-05-10 13:31:14 +00:00 |
|
krasimir
|
2675aec1f9
|
a simple optimization for getCategories, getFunctions, getFunctionsByCat in the Java binding
|
2017-05-10 12:46:32 +00:00 |
|
krasimir
|
6283489260
|
finished Type.getHypos & added Hypo.getType
|
2017-05-10 12:19:27 +00:00 |
|
krasimir
|
2f9c1c3764
|
a partial implementation for Type.getHypos. at least it lets us to count the number of arguments to a function
|
2017-05-10 08:40:12 +00:00 |
|
krasimir
|
74ce52d761
|
in the Java binding mark all internal functions as hidden
|
2017-04-19 11:08:09 +00:00 |
|
krasimir
|
e650b9c5fc
|
use gu_string_buf_data in the Java binding to avoid double copying of strings
|
2017-04-13 13:21:32 +00:00 |
|
krasimir
|
3467a54965
|
bring the Haskell binding a bit closer to the pure Haskell API
|
2017-01-26 12:48:22 +00:00 |
|
krasimir
|
3c36318246
|
added linearizeAll in the Java API
|
2017-01-24 10:14:12 +00:00 |
|
krasimir
|
f6ecf0ce56
|
resolve a conflict that was for some reason commited in src/runtime/java/Makefile
|
2017-01-24 09:36:39 +00:00 |
|
aarne
|
8729339d26
|
BNF grammars (.bnf or .cf) can have rules without semicolons, as in the GF book examples. However, if the grammar has any multiline rules, all of them must have semicolons.
|
2016-09-05 21:15:44 +00:00 |
|
krasimir
|
3381ae1aa0
|
added getFunctionProb in the Java and C API
|
2016-05-30 11:25:59 +00:00 |
|